diff --git a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/ArchiSteamFarmPlus/ASF_GlobalConfigPage.axaml b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/ArchiSteamFarmPlus/ASF_GlobalConfigPage.axaml
index fd55bbc0b..06c9cdf0e 100644
--- a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/ArchiSteamFarmPlus/ASF_GlobalConfigPage.axaml
+++ b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/ArchiSteamFarmPlus/ASF_GlobalConfigPage.axaml
@@ -5,6 +5,7 @@
xmlns:vm="using:System.Application.UI.ViewModels"
xmlns:controls="using:System.Application.UI.Views.Controls"
xmlns:ms="using:System.Application.Settings"
+ xmlns:models="using:System.Application.Models"
xmlns:resx="using:System.Application.UI.Resx"
xmlns:service="using:System.Application.Services"
xmlns:gif="using:AvaloniaGif"
@@ -87,7 +88,9 @@
-
+
diff --git a/src/ST.Client/Models/ArchiSteamFarmCommand.cs b/src/ST.Client/Models/ArchiSteamFarmCommand.cs
new file mode 100644
index 000000000..acd454c35
--- /dev/null
+++ b/src/ST.Client/Models/ArchiSteamFarmCommand.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Text;
+
+namespace System.Application.Models
+{
+ public class ArchiSteamFarmCommand
+ {
+ public static readonly Lazy> Commands = new(ImmutableList.Create(new ArchiSteamFarmCommand[]
+ {
+ new("2fa [b]","为指定机器人生成临时的两步验证令牌。"),
+ new("2fano [b]","为指定机器人拒绝所有等待操作的两步验证交易确认。"),
+ new("2faok [b]","为指定机器人拒绝所有等待操作的两步验证交易确认。"),
+ new("level [b]","显示指定机器人的 Steam 帐户等级。"),
+ new("addlicense [Bots] ","为指定机器人激活给定的 Licenses (许可)。"),
+ }));
+
+ public ArchiSteamFarmCommand(string command, string? description = null)
+ {
+ Command = command;
+ Description = description;
+ }
+
+ public string Command { get; }
+
+ public string CommandText => "!" + Command;
+
+ //public int Access { get; }
+
+ public string? Description { get; }
+ }
+}
diff --git a/src/ST.Client/Models/AchievementInfo.cs b/src/ST.Client/Models/Steam/AchievementInfo.cs
similarity index 100%
rename from src/ST.Client/Models/AchievementInfo.cs
rename to src/ST.Client/Models/Steam/AchievementInfo.cs
diff --git a/src/ST.Client/Models/FloatStatInfo.cs b/src/ST.Client/Models/Steam/FloatStatInfo.cs
similarity index 100%
rename from src/ST.Client/Models/FloatStatInfo.cs
rename to src/ST.Client/Models/Steam/FloatStatInfo.cs
diff --git a/src/ST.Client/Models/IntStatInfo.cs b/src/ST.Client/Models/Steam/IntStatInfo.cs
similarity index 100%
rename from src/ST.Client/Models/IntStatInfo.cs
rename to src/ST.Client/Models/Steam/IntStatInfo.cs
diff --git a/src/ST.Client/Models/KeyValue.cs b/src/ST.Client/Models/Steam/KeyValue.cs
similarity index 100%
rename from src/ST.Client/Models/KeyValue.cs
rename to src/ST.Client/Models/Steam/KeyValue.cs
diff --git a/src/ST.Client/Models/LocalDll.cs b/src/ST.Client/Models/Steam/LocalDlssDll.cs
similarity index 92%
rename from src/ST.Client/Models/LocalDll.cs
rename to src/ST.Client/Models/Steam/LocalDlssDll.cs
index ad28f74a6..4ebc6882b 100644
--- a/src/ST.Client/Models/LocalDll.cs
+++ b/src/ST.Client/Models/Steam/LocalDlssDll.cs
@@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace System.Application.Models
{
- public class LocalDll : IComparable
+ public class LocalDlssDll : IComparable
{
public string Filename { get; }
@@ -22,7 +22,7 @@ namespace System.Application.Models
public string MD5Hash { get; }
- public LocalDll(string filename)
+ public LocalDlssDll(string filename)
{
Filename = filename;
@@ -57,7 +57,7 @@ namespace System.Application.Models
return Version;
}
- public int CompareTo(LocalDll? other)
+ public int CompareTo(LocalDlssDll? other)
{
if (other == null)
{
diff --git a/src/ST.Client/Models/StatInfo.cs b/src/ST.Client/Models/Steam/StatInfo.cs
similarity index 100%
rename from src/ST.Client/Models/StatInfo.cs
rename to src/ST.Client/Models/Steam/StatInfo.cs
diff --git a/src/ST.Client/Models/SteamApp.cs b/src/ST.Client/Models/Steam/SteamApp.cs
similarity index 99%
rename from src/ST.Client/Models/SteamApp.cs
rename to src/ST.Client/Models/Steam/SteamApp.cs
index 3e7f83f07..77ea3dda8 100644
--- a/src/ST.Client/Models/SteamApp.cs
+++ b/src/ST.Client/Models/Steam/SteamApp.cs
@@ -327,7 +327,7 @@ namespace System.Application.Models
return true;
}
- internal bool UpdateDll(LocalDll localDll)
+ internal bool UpdateDll(LocalDlssDll localDll)
{
if (localDll == null)
{
diff --git a/src/ST.Client/Models/SteamAppInfo.cs b/src/ST.Client/Models/Steam/SteamAppInfo.cs
similarity index 100%
rename from src/ST.Client/Models/SteamAppInfo.cs
rename to src/ST.Client/Models/Steam/SteamAppInfo.cs
diff --git a/src/ST.Client/Models/SteamAppList.cs b/src/ST.Client/Models/Steam/SteamAppList.cs
similarity index 100%
rename from src/ST.Client/Models/SteamAppList.cs
rename to src/ST.Client/Models/Steam/SteamAppList.cs
diff --git a/src/ST.Client/Models/SteamAppProperty.cs b/src/ST.Client/Models/Steam/SteamAppProperty.cs
similarity index 100%
rename from src/ST.Client/Models/SteamAppProperty.cs
rename to src/ST.Client/Models/Steam/SteamAppProperty.cs
diff --git a/src/ST.Client/Models/SteamAppPropertyTable.cs b/src/ST.Client/Models/Steam/SteamAppPropertyTable.cs
similarity index 100%
rename from src/ST.Client/Models/SteamAppPropertyTable.cs
rename to src/ST.Client/Models/Steam/SteamAppPropertyTable.cs
diff --git a/src/ST.Client/Models/SteamApps.cs b/src/ST.Client/Models/Steam/SteamApps.cs
similarity index 100%
rename from src/ST.Client/Models/SteamApps.cs
rename to src/ST.Client/Models/Steam/SteamApps.cs
diff --git a/src/ST.Client/Models/SteamMiniProfile.cs b/src/ST.Client/Models/Steam/SteamMiniProfile.cs
similarity index 100%
rename from src/ST.Client/Models/SteamMiniProfile.cs
rename to src/ST.Client/Models/Steam/SteamMiniProfile.cs
diff --git a/src/ST.Client/Models/SteamUser.cs b/src/ST.Client/Models/Steam/SteamUser.cs
similarity index 100%
rename from src/ST.Client/Models/SteamUser.cs
rename to src/ST.Client/Models/Steam/SteamUser.cs
diff --git a/src/ST.Client/Models/TradeCard.cs b/src/ST.Client/Models/Steam/TradeCard.cs
similarity index 100%
rename from src/ST.Client/Models/TradeCard.cs
rename to src/ST.Client/Models/Steam/TradeCard.cs