Add [JsonProperty] on Game's properties

This commit is contained in:
stackia
2016-07-30 05:50:51 +08:00
parent 4bc7fded2d
commit 7baa54377a

View File

@@ -35,8 +35,13 @@ using Newtonsoft.Json;
namespace ArchiSteamFarm {
internal sealed class CardsFarmer : IDisposable {
internal sealed class Game {
[JsonProperty]
internal readonly uint AppID;
[JsonProperty]
internal float HoursPlayed;
[JsonProperty]
internal byte CardsRemaining;
internal Game(uint appID, float hoursPlayed, byte cardsRemaining) {