This commit is contained in:
JustArchi
2016-12-25 05:52:17 +01:00
parent 55067c669e
commit d36eaebbfe
9 changed files with 74 additions and 44 deletions

View File

@@ -28,6 +28,7 @@ using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Drawing.Design;
using System.IO;
using ConfigGenerator.JSON;
using Newtonsoft.Json;
namespace ConfigGenerator {
@@ -83,6 +84,9 @@ namespace ConfigGenerator {
[JsonProperty(Required = Required.DisallowNull)]
public bool IsBotAccount { get; set; } = false;
[JsonProperty(Required = Required.DisallowNull)]
public List<Steam.Item.EType> LootableTypes = new List<Steam.Item.EType> { Steam.Item.EType.BoosterPack, Steam.Item.EType.FoilTradingCard, Steam.Item.EType.TradingCard };
[Category("\tAccess")]
[JsonProperty(Required = Required.DisallowNull)]
public ECryptoMethod PasswordFormat { get; set; } = ECryptoMethod.PlainText;

View File

@@ -73,6 +73,7 @@
<Compile Include="ConfigPage.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="JSON\Steam.cs" />
<Compile Include="Logging.cs" />
<Compile Include="MainForm.cs">
<SubType>Form</SubType>

View File

@@ -0,0 +1,20 @@
using System.Diagnostics.CodeAnalysis;
namespace ConfigGenerator.JSON {
internal static class Steam {
internal static class Item {
[SuppressMessage("ReSharper", "UnusedMember.Global")]
internal enum EType : byte {
Unknown,
BoosterPack,
Coupon,
Emoticon,
Gift,
FoilTradingCard,
ProfileBackground,
TradingCard,
SteamGems
}
}
}
}