Skip to content

Commit

Permalink
Update some enums.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Oct 4, 2023
1 parent 0d5d7c0 commit 479e5ce
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 8 deletions.
31 changes: 27 additions & 4 deletions Resources/SteamLanguage/enums.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ enum EAccountFlags flags
Lockdown = 8388608;
MasterAppEditor = 16777216;
BannedFromWebAPI = 33554432;
ClansOnlyFromFriends = 67108864;
PartnerMember = 67108864;
GlobalModerator = 134217728;
ParentalSettings = 268435456;
ThirdPartySupport = 536870912;
Expand Down Expand Up @@ -707,7 +707,13 @@ enum EOSType
MacOS111 = -79;
MacOS1017 = -78;
MacOS12 = -77;
MacOS13 = -76;
MacOS1018 = -76;
MacOS13 = -75;
MacOS1019 = -74;
MacOS14 = -73;
MacOS1020 = -72;
MacOS15 = -71;

MacOSMax = -1;

LinuxUnknown = -203;
Expand Down Expand Up @@ -863,7 +869,8 @@ enum EServerType
Steam2Emulator = 79;
PublicTest = 80;
SolrMgr = 81;
BroadcastRelay = 82;
BroadcastRelay = 82; removed "renamed to BroadcastIngestor"
BroadcastIngestor = 82;
BroadcastDirectory = 83;
VideoManager = 84;
TradeOffer = 85;
Expand Down Expand Up @@ -1022,6 +1029,12 @@ enum ECurrencyCode
QAR = 39;
CRC = 40;
UYU = 41;
BGN = 42;
HRK = 43;
CZK = 44;
DKK = 45;
HUF = 46;
RON = 47;
};

enum EDepotFileFlag flags
Expand Down Expand Up @@ -1054,6 +1067,7 @@ enum EPublishedFileVisibility
Public = 0;
FriendsOnly = 1;
Private = 2;
Unlisted = 3;
};

enum EWorkshopFileType
Expand Down Expand Up @@ -1278,8 +1292,9 @@ enum EUCMFilePrivacyState flags
Private = 2;
FriendsOnly = 4;
Public = 8;
Unlisted = 16;

All = Public | FriendsOnly | Private; // 14
All = Public | FriendsOnly | Private | Unlisted; // 30
};

enum EPublishedFileQueryType
Expand Down Expand Up @@ -1357,6 +1372,11 @@ enum EDisplayStatus
AvailToBorrow = 29;
AvailGuestPass = 30;
Purchase = 31;
Unavailable = 32;
NotLaunchable = 33;
CloudError = 34;
CloudOutOfDate = 35;
Terminating = 36;
};

enum EAppType flags
Expand Down Expand Up @@ -1436,6 +1456,7 @@ enum EChatRoomGroupRank
Moderator = 30;
Officer = 40;
Owner = 50;
TestInvalid = 99;
};

enum EChatRoomGroupPermissions flags
Expand Down Expand Up @@ -1469,6 +1490,7 @@ enum EChatRoomJoinState
Default = 0;
None = 1;
Joined = 2;
TestInvalid = 99;
};

enum EVoiceCallState
Expand Down Expand Up @@ -1575,4 +1597,5 @@ enum ELauncherType
Headless = 6;
SteamChina = 7;
SingleApp = 8;
GameServer = 9;
}
29 changes: 25 additions & 4 deletions SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ public enum EAccountFlags
Lockdown = 8388608,
MasterAppEditor = 16777216,
BannedFromWebAPI = 33554432,
ClansOnlyFromFriends = 67108864,
PartnerMember = 67108864,
GlobalModerator = 134217728,
ParentalSettings = 268435456,
ThirdPartySupport = 536870912,
Expand Down Expand Up @@ -2537,7 +2537,12 @@ public enum EOSType
MacOS111 = -79,
MacOS1017 = -78,
MacOS12 = -77,
MacOS13 = -76,
MacOS1018 = -76,
MacOS13 = -75,
MacOS1019 = -74,
MacOS14 = -73,
MacOS1020 = -72,
MacOS15 = -71,
MacOSMax = -1,
LinuxUnknown = -203,
Linux22 = -202,
Expand Down Expand Up @@ -2669,7 +2674,7 @@ public enum EServerType
Steam2Emulator = 79,
PublicTest = 80,
SolrMgr = 81,
BroadcastRelay = 82,
BroadcastIngestor = 82,
BroadcastDirectory = 83,
VideoManager = 84,
TradeOffer = 85,
Expand Down Expand Up @@ -2819,6 +2824,12 @@ public enum ECurrencyCode
QAR = 39,
CRC = 40,
UYU = 41,
BGN = 42,
HRK = 43,
CZK = 44,
DKK = 45,
HUF = 46,
RON = 47,
}
[Flags]
public enum EDepotFileFlag
Expand Down Expand Up @@ -2849,6 +2860,7 @@ public enum EPublishedFileVisibility
Public = 0,
FriendsOnly = 1,
Private = 2,
Unlisted = 3,
}
public enum EWorkshopFileType
{
Expand Down Expand Up @@ -3051,7 +3063,8 @@ public enum EUCMFilePrivacyState
Private = 2,
FriendsOnly = 4,
Public = 8,
All = Public | FriendsOnly | Private,
Unlisted = 16,
All = Public | FriendsOnly | Private | Unlisted,
}
public enum EPublishedFileQueryType
{
Expand Down Expand Up @@ -3125,6 +3138,11 @@ public enum EDisplayStatus
AvailToBorrow = 29,
AvailGuestPass = 30,
Purchase = 31,
Unavailable = 32,
NotLaunchable = 33,
CloudError = 34,
CloudOutOfDate = 35,
Terminating = 36,
}
[Flags]
public enum EAppType
Expand Down Expand Up @@ -3199,6 +3217,7 @@ public enum EChatRoomGroupRank
Moderator = 30,
Officer = 40,
Owner = 50,
TestInvalid = 99,
}
[Flags]
public enum EChatRoomGroupPermissions
Expand Down Expand Up @@ -3230,6 +3249,7 @@ public enum EChatRoomJoinState
Default = 0,
None = 1,
Joined = 2,
TestInvalid = 99,
}
public enum EVoiceCallState
{
Expand Down Expand Up @@ -3325,6 +3345,7 @@ public enum ELauncherType
Headless = 6,
SteamChina = 7,
SingleApp = 8,
GameServer = 9,
}
public enum EUdpPacketType : byte
{
Expand Down

0 comments on commit 479e5ce

Please sign in to comment.