mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-10 21:54:23 +00:00
Serialize ulong strings for JS compatibility, #747
This commit is contained in:
@@ -116,6 +116,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
[JsonProperty(PropertyName = GlobalConfig.UlongStringPrefix + nameof(SteamMasterClanID), Required = Required.DisallowNull)]
|
||||
internal string SSteamMasterClanID {
|
||||
get => SteamMasterClanID.ToString();
|
||||
set {
|
||||
if (string.IsNullOrEmpty(value) || !ulong.TryParse(value, out ulong result)) {
|
||||
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsInvalid, nameof(SSteamMasterClanID)));
|
||||
|
||||
Reference in New Issue
Block a user