mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Closes #1820
Those properties started being serialized the moment we opened them as part of PublicAPI, we do not intend to serialize them when sending to Steam.
This commit is contained in:
parent
e714778085
commit
bc2cac5c08
1 changed files with 13 additions and 0 deletions
|
@ -41,42 +41,54 @@ namespace ArchiSteamFarm.Json {
|
|||
[PublicAPI]
|
||||
public const ulong SteamCommunityContextID = 6;
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ImmutableDictionary<string, JToken> AdditionalProperties { get; internal set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public uint Amount { get; internal set; }
|
||||
|
||||
[JsonProperty(PropertyName = "appid", Required = Required.DisallowNull)]
|
||||
public uint AppID { get; private set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ulong AssetID { get; private set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ulong ClassID { get; private set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ulong ContextID { get; private set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ulong InstanceID { get; private set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public bool Marketable { get; internal set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ERarity Rarity { get; internal set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public uint RealAppID { get; internal set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public ImmutableHashSet<Tag> Tags { get; internal set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public bool Tradable { get; internal set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public EType Type { get; internal set; }
|
||||
|
||||
|
@ -390,6 +402,7 @@ namespace ArchiSteamFarm.Json {
|
|||
|
||||
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||
public class NumberResponse {
|
||||
[JsonIgnore]
|
||||
[PublicAPI]
|
||||
public bool Success { get; private set; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue