mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Misc
This commit is contained in:
@@ -117,7 +117,7 @@ namespace ArchiSteamFarm {
|
|||||||
[JsonProperty(PropertyName = GlobalConfig.UlongStringPrefix + nameof(SteamMasterClanID), Required = Required.DisallowNull)]
|
[JsonProperty(PropertyName = GlobalConfig.UlongStringPrefix + nameof(SteamMasterClanID), Required = Required.DisallowNull)]
|
||||||
internal string SSteamMasterClanID {
|
internal string SSteamMasterClanID {
|
||||||
get => SteamMasterClanID.ToString();
|
get => SteamMasterClanID.ToString();
|
||||||
set {
|
private set {
|
||||||
if (string.IsNullOrEmpty(value) || !ulong.TryParse(value, out ulong result)) {
|
if (string.IsNullOrEmpty(value) || !ulong.TryParse(value, out ulong result)) {
|
||||||
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsInvalid, nameof(SSteamMasterClanID)));
|
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsInvalid, nameof(SSteamMasterClanID)));
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -105,7 +105,8 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
[JsonProperty(PropertyName = UlongStringPrefix + nameof(SteamOwnerID), Required = Required.DisallowNull)]
|
[JsonProperty(PropertyName = UlongStringPrefix + nameof(SteamOwnerID), Required = Required.DisallowNull)]
|
||||||
internal string SSteamOwnerID {
|
internal string SSteamOwnerID {
|
||||||
set {
|
get => SteamOwnerID.ToString();
|
||||||
|
private set {
|
||||||
if (string.IsNullOrEmpty(value) || !ulong.TryParse(value, out ulong result)) {
|
if (string.IsNullOrEmpty(value) || !ulong.TryParse(value, out ulong result)) {
|
||||||
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsInvalid, nameof(SSteamOwnerID)));
|
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsInvalid, nameof(SSteamOwnerID)));
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user