mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user