Skip to content

Commit

Permalink
Updated enums
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorMcKay committed Sep 3, 2024
1 parent 59f9cf1 commit 2e2cb08
Show file tree
Hide file tree
Showing 15 changed files with 370 additions and 81 deletions.
3 changes: 2 additions & 1 deletion components/01-enums.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// Auto-generated by generate-enums script on Sat Sep 23 2023 02:17:44 GMT-0400 (Eastern Daylight Time)
// Auto-generated by generate-enums script on Mon Sep 02 2024 23:48:07 GMT-0400 (Eastern Daylight Time)

const SteamUserBase = require('./00-base.js');

Expand Down Expand Up @@ -165,6 +165,7 @@ SteamUserEnums.ESteamDeckCompatibilityResultDisplayType = require('../enums/ESte
SteamUserEnums.ESteamDeckKeyboardLayout = require('../enums/ESteamDeckKeyboardLayout.js');
SteamUserEnums.ESteamNetworkingSocketsCipher = require('../enums/ESteamNetworkingSocketsCipher.js');
SteamUserEnums.ESteamNetworkingUDPMsgID = require('../enums/ESteamNetworkingUDPMsgID.js');
SteamUserEnums.ESteamNotificationType = require('../enums/ESteamNotificationType.js');
SteamUserEnums.ESteamPipeOperationType = require('../enums/ESteamPipeOperationType.js');
SteamUserEnums.ESteamPipeWorkType = require('../enums/ESteamPipeWorkType.js');
SteamUserEnums.ESteamReviewScore = require('../enums/ESteamReviewScore.js');
Expand Down
7 changes: 4 additions & 3 deletions enums/EAccountFlags.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// Auto-generated by generate-enums script on Thu Feb 24 2022 03:38:38 GMT-0500 (Eastern Standard Time)
// Auto-generated by generate-enums script on Mon Sep 02 2024 23:48:07 GMT-0400 (Eastern Daylight Time)

/**
* @enum
Expand Down Expand Up @@ -33,7 +33,8 @@ const EAccountFlags = {
"Lockdown": 8388608,
"MasterAppEditor": 16777216,
"BannedFromWebAPI": 33554432,
"ClansOnlyFromFriends": 67108864,
"ClansOnlyFromFriends": 67108864, // obsolete
"PartnerMember": 67108864,
"GlobalModerator": 134217728,
"ParentalSettings": 268435456,
"ThirdPartySupport": 536870912,
Expand Down Expand Up @@ -67,7 +68,7 @@ const EAccountFlags = {
"8388608": "Lockdown",
"16777216": "MasterAppEditor",
"33554432": "BannedFromWebAPI",
"67108864": "ClansOnlyFromFriends",
"67108864": "PartnerMember",
"134217728": "GlobalModerator",
"268435456": "ParentalSettings",
"536870912": "ThirdPartySupport",
Expand Down
14 changes: 13 additions & 1 deletion enums/ECurrencyCode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// Auto-generated by generate-enums script on Thu Feb 24 2022 03:38:38 GMT-0500 (Eastern Standard Time)
// Auto-generated by generate-enums script on Mon Sep 02 2024 23:48:07 GMT-0400 (Eastern Daylight Time)

/**
* @enum
Expand Down Expand Up @@ -47,6 +47,12 @@ const ECurrencyCode = {
"QAR": 39,
"CRC": 40,
"UYU": 41,
"BGN": 42,
"HRK": 43,
"CZK": 44,
"DKK": 45,
"HUF": 46,
"RON": 47,

// Value-to-name mapping for convenience
"0": "Invalid",
Expand Down Expand Up @@ -90,6 +96,12 @@ const ECurrencyCode = {
"39": "QAR",
"40": "CRC",
"41": "UYU",
"42": "BGN",
"43": "HRK",
"44": "CZK",
"45": "DKK",
"46": "HUF",
"47": "RON",
};

module.exports = ECurrencyCode;
4 changes: 3 additions & 1 deletion enums/ELauncherType.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// Auto-generated by generate-enums script on Thu Feb 24 2022 03:38:38 GMT-0500 (Eastern Standard Time)
// Auto-generated by generate-enums script on Mon Sep 02 2024 23:48:07 GMT-0400 (Eastern Daylight Time)

/**
* @enum
Expand All @@ -15,6 +15,7 @@ const ELauncherType = {
"Headless": 6,
"SteamChina": 7,
"SingleApp": 8,
"GameServer": 9,

// Value-to-name mapping for convenience
"0": "Default",
Expand All @@ -26,6 +27,7 @@ const ELauncherType = {
"6": "Headless",
"7": "SteamChina",
"8": "SingleApp",
"9": "GameServer",
};

module.exports = ELauncherType;
14 changes: 13 additions & 1 deletion enums/ELicenseFlags.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// Auto-generated by generate-enums script on Thu Feb 24 2022 03:38:38 GMT-0500 (Eastern Standard Time)
// Auto-generated by generate-enums script on Mon Sep 02 2024 23:48:07 GMT-0400 (Eastern Daylight Time)

/**
* @enum
Expand All @@ -19,6 +19,12 @@ const ELicenseFlags = {
"RegionRestrictionExpired": 512,
"CancelledByFriendlyFraudLock": 1024,
"NotActivated": 2048,
"PendingRefund": 8192,
"Borrowed": 16384,
"ReleaseStateOverride": 32768,
"CancelledByPartner": 262144,
"NonPermanent": 524288,
"PreferredOwner": 1048576,

// Value-to-name mapping for convenience
"0": "None",
Expand All @@ -34,6 +40,12 @@ const ELicenseFlags = {
"512": "RegionRestrictionExpired",
"1024": "CancelledByFriendlyFraudLock",
"2048": "NotActivated",
"8192": "PendingRefund",
"16384": "Borrowed",
"32768": "ReleaseStateOverride",
"262144": "CancelledByPartner",
"524288": "NonPermanent",
"1048576": "PreferredOwner",
};

module.exports = ELicenseFlags;
Loading

0 comments on commit 2e2cb08

Please sign in to comment.