mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Add support for steam wallet keys, #239
This commit is contained in:
@@ -120,19 +120,22 @@ namespace ArchiSteamFarm {
|
||||
internal sealed class PurchaseResponseCallback : CallbackMsg {
|
||||
internal enum EPurchaseResult : sbyte {
|
||||
[SuppressMessage("ReSharper", "UnusedMember.Global")]
|
||||
Unknown = -1,
|
||||
Unknown = -2,
|
||||
Timeout = -1,
|
||||
OK = 0,
|
||||
AlreadyOwned = 9,
|
||||
RegionLocked = 13,
|
||||
InvalidKey = 14,
|
||||
DuplicatedKey = 15,
|
||||
BaseGameRequired = 24,
|
||||
SteamWalletCode = 50,
|
||||
OnCooldown = 53
|
||||
}
|
||||
|
||||
internal readonly EPurchaseResult PurchaseResult;
|
||||
internal readonly Dictionary<uint, string> Items;
|
||||
|
||||
internal EPurchaseResult PurchaseResult { get; set; }
|
||||
|
||||
internal PurchaseResponseCallback(JobID jobID, CMsgClientPurchaseResponse msg) {
|
||||
if ((jobID == null) || (msg == null)) {
|
||||
throw new ArgumentNullException(nameof(jobID) + " || " + nameof(msg));
|
||||
|
||||
Reference in New Issue
Block a user