mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Refactor EVERYTHING
Directories structure + namespaces relevant to them
This commit is contained in:
@@ -24,7 +24,7 @@ using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IASF : IPlugin {
|
||||
/// <summary>
|
||||
@@ -19,9 +19,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using ArchiSteamFarm.Steam;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBot : IPlugin {
|
||||
/// <summary>
|
||||
@@ -19,9 +19,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using ArchiSteamFarm.Steam;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotCardsFarmerInfo : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,9 +20,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Storage;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotCommand : IPlugin {
|
||||
/// <summary>
|
||||
@@ -19,10 +19,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using ArchiSteamFarm.Steam;
|
||||
using JetBrains.Annotations;
|
||||
using SteamKit2;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotConnection : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,9 +20,10 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotFriendRequest : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,9 +20,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Storage;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotMessage : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,11 +20,12 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotModules : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,10 +20,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using JetBrains.Annotations;
|
||||
using SteamKit2;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotSteamClient : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,10 +20,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Json;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Steam.Data;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotTradeOffer : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,9 +20,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Steam.Exchange;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotTradeOfferResults : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,10 +20,11 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using ArchiSteamFarm.Callbacks;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Steam.Integration.Callbacks;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotUserNotifications : IPlugin {
|
||||
/// <summary>
|
||||
@@ -22,7 +22,7 @@
|
||||
using System;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IBotsComparer : IPlugin {
|
||||
/// <summary>
|
||||
@@ -23,7 +23,7 @@ using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Helpers;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface ICrossProcessSemaphoreProvider : IPlugin {
|
||||
/// <summary>
|
||||
@@ -23,7 +23,7 @@ using System;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface IPlugin {
|
||||
/// <summary>
|
||||
@@ -24,7 +24,7 @@ using System.Threading.Tasks;
|
||||
using JetBrains.Annotations;
|
||||
using SteamKit2;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces {
|
||||
[PublicAPI]
|
||||
public interface ISteamPICSChanges : IPlugin {
|
||||
/// <summary>
|
||||
@@ -20,6 +20,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
using System;
|
||||
using ArchiSteamFarm.Plugins.Interfaces;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins {
|
||||
internal abstract class OfficialPlugin : IPlugin {
|
||||
|
||||
@@ -30,10 +30,14 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Callbacks;
|
||||
using ArchiSteamFarm.Core;
|
||||
using ArchiSteamFarm.Helpers;
|
||||
using ArchiSteamFarm.Json;
|
||||
using ArchiSteamFarm.Localization;
|
||||
using ArchiSteamFarm.Plugins.Interfaces;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Steam.Data;
|
||||
using ArchiSteamFarm.Steam.Exchange;
|
||||
using ArchiSteamFarm.Steam.Integration.Callbacks;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using SteamKit2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user