Files
Nebula-Auth/SteamLibForked/Utility/MafileSerialization/LegacyMafile.cs
T
Давид Чернопятов ef8e12e20d 1.5.4 progress
- Mafile version was updated (3), new property SteamId added
- MafileSerializer was refactored to adjust compability and code readability.
- Serialization work moved from Storage to new class NebulaSerializer
2024-11-10 02:29:40 +02:00

19 lines
1.1 KiB
C#

using Newtonsoft.Json;
namespace SteamLib.Utility.MafileSerialization;
internal class LegacyMafile
{
[JsonProperty("shared_secret"), JsonRequired] public string SharedSecret { get; set; } = default!;
[JsonProperty("identity_secret"), JsonRequired] public string IdentitySecret { get; set; } = default!;
[JsonProperty("device_id"), JsonRequired] public string DeviceId { get; set; } = default!;
[JsonProperty("revocation_code")] public string RevocationCode { get; set; } = default!;
[JsonProperty("account_name")] public string AccountName { get; set; } = default!;
[JsonProperty("Session")] public object? SessionData { get; set; } = default!;
[JsonProperty("server_time")] public long ServerTime { get; set; } //Unused
[JsonProperty("steamid")] public long SteamId { get; set; }
[JsonProperty("serial_number")] public string SerialNumber { get; set; } = default!; //Unused
[JsonProperty("uri")] public string Uri { get; set; } = default!; //Unused
[JsonProperty("token_gid")] public string TokenGid { get; set; } = default!; //Unused
[JsonProperty("secret_1")] public string Secret1 { get; set; } = default!; //Unused
}