Add InstanceID getter

This commit is contained in:
JustArchi
2020-02-02 18:03:09 +01:00
parent 87939fbe7e
commit 7e390324b0

View File

@@ -176,7 +176,10 @@ namespace ArchiSteamFarm.Json {
#pragma warning disable IDE0051
[JsonProperty(PropertyName = "instanceid", Required = Required.DisallowNull)]
[JetBrains.Annotations.NotNull]
private string InstanceIDText {
get => InstanceID.ToString();
set {
if (string.IsNullOrEmpty(value)) {
return;