Correct WalletBalance

It can indeed be negative when user does a chargeback (violating Steam ToS and getting suspended in the process)
This commit is contained in:
JustArchi
2019-04-04 12:25:55 +02:00
parent 0abadc24a8
commit f3c9ab7771

View File

@@ -152,7 +152,7 @@ namespace ArchiSteamFarm {
public ulong SteamID { get; private set; }
[PublicAPI]
public uint WalletBalance { get; private set; }
public long WalletBalance { get; private set; }
[PublicAPI]
public ECurrencyCode WalletCurrency { get; private set; }
@@ -2703,7 +2703,7 @@ namespace ArchiSteamFarm {
return;
}
WalletBalance = (uint) callback.LongBalance;
WalletBalance = callback.LongBalance;
WalletCurrency = callback.Currency;
}