mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Make properties of Confirmation class public
This commit is contained in:
@@ -440,10 +440,17 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
public sealed class Confirmation {
|
||||
internal readonly ulong Creator;
|
||||
internal readonly ulong ID;
|
||||
internal readonly ulong Key;
|
||||
internal readonly EType Type;
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
public ulong Creator { get; }
|
||||
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
public ulong ID { get; }
|
||||
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
public ulong Key { get; }
|
||||
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
public EType Type { get; }
|
||||
|
||||
internal Confirmation(ulong id, ulong key, ulong creator, EType type) {
|
||||
ID = id > 0 ? id : throw new ArgumentOutOfRangeException(nameof(id));
|
||||
|
||||
Reference in New Issue
Block a user