Skip to content

Commit

Permalink
Remove renamed enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Oct 31, 2023
1 parent 659c1ad commit 61bae24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 125 deletions.
35 changes: 0 additions & 35 deletions Resources/SteamLanguage/emsg.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ enum EMsg
WebAPIJobResponse = 134;
ClientSessionStart = 135;
ClientSessionEnd = 136;
ClientSessionUpdateAuthTicket = 137; removed "renamed to ClientSessionUpdate"
ClientSessionUpdate = 137;
StatsDeprecated = 138; removed
Ping = 139;
Expand Down Expand Up @@ -109,7 +108,6 @@ enum EMsg
AISRefreshContentDescription = 401; removed
AISRequestContentDescription = 402;
AISUpdateAppInfo = 403;
AISUpdatePackageInfo = 404; removed "renamed to AISUpdatePackageCosts"
AISUpdatePackageCosts = 404; obsolete
AISGetPackageChangeNumber = 405;
AISGetPackageChangeNumberResponse = 406;
Expand Down Expand Up @@ -181,7 +179,6 @@ enum EMsg
AllowUserToPlayResponse = 551;
AMVerfiyUser = 552;
AMClientNotPlaying = 553;
ClientRequestFriendship = 554; obsolete "Renamed to AMClientRequestFriendship"
AMClientRequestFriendship = 554;
AMRelayPublishStatus = 555;
AMResetCommunityContent = 556; removed
Expand Down Expand Up @@ -690,9 +687,7 @@ enum EMsg
GCInterAppMessage = 2219;
GCGetEmailTemplate = 2220;
GCGetEmailTemplateResponse = 2221;
ISRelayToGCH = 2222; removed "renamed to GCHRelay"
GCHRelay = 2222;
GCHRelayClientToIS = 2223; removed "renamed to GCHRelayToClient"
GCHRelayToClient = 2223;
GCHUpdateSession = 2224;
GCHRequestUpdateSession = 2225;
Expand Down Expand Up @@ -836,16 +831,13 @@ enum EMsg
AMSetProfileURL = 4005;
AMGetAccountEmailAddress = 4006;
AMGetAccountEmailAddressResponse = 4007;
AMRequestFriendData = 4008; removed "renamed to AMRequestClanData"
AMRequestClanData = 4008;
AMRouteToClients = 4009;
AMLeaveClan = 4010;
AMClanPermissions = 4011;
AMClanPermissionsResponse = 4012;
AMCreateClanEvent = 4013; obsolete "renamed to AMCreateClanEventDummyForRateLimiting"
AMCreateClanEventDummyForRateLimiting = 4013;
AMCreateClanEventResponse = 4014; obsolete
AMUpdateClanEvent = 4015; obsolete "renamed to AMUpdateClanEventDummyForRateLimiting"
AMUpdateClanEventDummyForRateLimiting = 4015;
AMUpdateClanEventResponse = 4016; obsolete
AMGetClanEvents = 4017; obsolete
Expand Down Expand Up @@ -904,9 +896,7 @@ enum EMsg
AMGetAccountLinksResponse = 4070;
AMSetAccountLinks = 4071;
AMSetAccountLinksResponse = 4072;
AMGetUserGameStats = 4073; obsolete "renamed to UGSGetUserGameStats"
UGSGetUserGameStats = 4073;
AMGetUserGameStatsResponse = 4074; obsolete "renamed to UGSGetUserGameStatsResponse"
UGSGetUserGameStatsResponse = 4074;
AMCheckClanMembership = 4075;
AMGetClanMembers = 4076;
Expand Down Expand Up @@ -952,7 +942,6 @@ enum EMsg
AMGetCommunityPrivacyState = 4116;
AMGetCommunityPrivacyStateResponse = 4117;
AMCheckClanInviteRateLimiting = 4118;
AMGetUserAchievementStatus = 4119; obsolete "renamed to UGSGetUserAchievementStatus"
UGSGetUserAchievementStatus = 4119;
AMGetIgnored = 4120;
AMGetIgnoredResponse = 4121;
Expand Down Expand Up @@ -1036,12 +1025,10 @@ enum EMsg
AMGetPurchaseStatus = 4206;
AMSupportIsAccountEnabled = 4209;
AMSupportIsAccountEnabledResponse = 4210;
AMGetUserStats = 4211; obsolete "renamed to UGSGetUserStats"
UGSGetUserStats = 4211;
AMSupportKickSession = 4212;
AMGSSearch = 4213;
MarketingMessageUpdate = 4216;
AMRouteFriendMsg = 4219; obsolete "renamed to ChatServerRouteFriendMsg"
ChatServerRouteFriendMsg = 4219;
AMTicketAuthRequestOrResponse = 4220;
AMVerifyDepotManagementRights = 4222;
Expand All @@ -1054,7 +1041,6 @@ enum EMsg
AMValidateEmailLink = 4231;
AMValidateEmailLinkResponse = 4232;
AMAddUsersToMarketingTreatment = 4234; removed
AMStoreUserStats = 4236; obsolete "renamed to UGSStoreUserStats"
UGSStoreUserStats = 4236;
AMGetUserGameplayInfo = 4237; removed
AMGetUserGameplayInfoResponse = 4238; removed
Expand Down Expand Up @@ -1083,7 +1069,6 @@ enum EMsg
AMCreateDispute = 4262;
AMCreateDisputeResponse = 4263; obsolete
AMClearDispute = 4264;
AMClearDisputeResponse = 4265; obsolete "renamed to AMCreateFinancialAdjustment"
AMCreateFinancialAdjustment = 4265;
AMPlayerNicknameList = 4266;
AMPlayerNicknameListResponse = 4267;
Expand All @@ -1097,7 +1082,6 @@ enum EMsg
AMGetGameMembersResponse = 4277;
AMGetSteamIDForMicroTxn = 4278;
AMGetSteamIDForMicroTxnResponse = 4279;
AMAddPublisherUser = 4280; obsolete "renamed to AMSetPartnerMember"
AMSetPartnerMember = 4280;
AMRemovePublisherUser = 4281;
AMGetUserLicenseList = 4282;
Expand Down Expand Up @@ -1128,7 +1112,6 @@ enum EMsg
AMIsAccountInCaptchaGracePeriodResponse = 4309;
AMAccountPS3Unlink = 4310;
AMAccountPS3UnlinkResponse = 4311;
AMStoreUserStatsResponse = 4312; obsolete "renamed to UGSStoreUserStatsResponse"
UGSStoreUserStatsResponse = 4312;
AMGetAccountPSNInfo = 4313;
AMGetAccountPSNInfoResponse = 4314;
Expand Down Expand Up @@ -1299,9 +1282,7 @@ enum EMsg
UFSDownloadFinishRequest = 5248;
UFSDownloadFinishResponse = 5249;
UFSFlushURLCache = 5250;
UFSUploadCommit = 5251; obsolete "renamed to ClientUFSUploadCommit"
ClientUFSUploadCommit = 5251;
UFSUploadCommitResponse = 5252; obsolete "renamed to ClientUFSUploadCommitResponse"
ClientUFSUploadCommitResponse = 5252;
UFSMigrateFileAppID = 5253;
UFSMigrateFileAppIDResponse = 5254;
Expand Down Expand Up @@ -1453,9 +1434,7 @@ enum EMsg
AMClientCreateFriendsGroupResponse = 5561;
AMClientDeleteFriendsGroup = 5562;
AMClientDeleteFriendsGroupResponse = 5563;
AMClientRenameFriendsGroup = 5564; obsolete "renamed to AMClientManageFriendsGroup"
AMClientManageFriendsGroup = 5564;
AMClientRenameFriendsGroupResponse = 5565; obsolete "renamed to AMClientManageFriendsGroupResponse"
AMClientManageFriendsGroupResponse = 5565;
AMClientAddFriendToGroup = 5566;
AMClientAddFriendToGroupResponse = 5567;
Expand Down Expand Up @@ -1487,9 +1466,7 @@ enum EMsg
ClientCreateAccountProtoResponse = 5591; obsolete
ClientGetNumberOfCurrentPlayersDP = 5592;
ClientGetNumberOfCurrentPlayersDPResponse = 5593;
ClientServiceMethod = 5594; obsolete "renamed to ClientServiceMethodLegacy"
ClientServiceMethodLegacy = 5594;
ClientServiceMethodResponse = 5595; obsolete "renamed to ClientServiceMethodLegacyResponse"
ClientServiceMethodLegacyResponse = 5595;
ClientFriendUserStatusPublished = 5596;
ClientCurrentUIMode = 5597;
Expand Down Expand Up @@ -1652,11 +1629,8 @@ enum EMsg
ClientUDSP2PSessionEnded = 7002;
UDSRenderUserAuth = 7003;
UDSRenderUserAuthResponse = 7004;
ClientUDSInviteToGame = 7005; obsolete "renamed to ClientInviteToGame"
ClientInviteToGame = 7005;
UDSFindSession = 7006; removed "renamed to UDSHasSession"
UDSHasSession = 7006;
UDSFindSessionResponse = 7007; removed "renamed to UDSHasSessionResponse"
UDSHasSessionResponse = 7007;

MPASBase = 7100;
Expand Down Expand Up @@ -1751,7 +1725,6 @@ enum EMsg
ClientUCMEnumerateUserSubscribedFilesWithUpdates = 7378;
ClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse = 7379;
UCMPublishedFileContentUpdated = 7380;
UCMPublishedFileUpdated = 7381; obsolete "renamed to ClientUCMPublishedFileUpdated"
ClientUCMPublishedFileUpdated = 7381;
ClientWorkshopItemChangesRequest = 7382;
ClientWorkshopItemChangesResponse = 7383;
Expand Down Expand Up @@ -1781,19 +1754,13 @@ enum EMsg
ClientFSEnumerateFollowingListResponse = 7520;
FSGetPendingNotificationCount = 7521;
FSGetPendingNotificationCountResponse = 7522;
ClientFSOfflineMessageNotification = 7523; obsolete "Renamed to ClientChatOfflineMessageNotification"
ClientFSRequestOfflineMessageCount = 7524; obsolete "Renamed to ClientChatRequestOfflineMessageCount"
ClientFSGetFriendMessageHistory = 7525; obsolete "Renamed to ClientChatGetFriendMessageHistory"
ClientFSGetFriendMessageHistoryResponse = 7526; obsolete "Renamed to ClientChatGetFriendMessageHistoryResponse"
ClientFSGetFriendMessageHistoryForOfflineMessages = 7527; obsolete "Renamed to ClientChatGetFriendMessageHistoryForOfflineMessages"
ClientChatOfflineMessageNotification = 7523;
ClientChatRequestOfflineMessageCount = 7524;
ClientChatGetFriendMessageHistory = 7525;
ClientChatGetFriendMessageHistoryResponse = 7526;
ClientChatGetFriendMessageHistoryForOfflineMessages = 7527;
ClientFSGetFriendsSteamLevels = 7528;
ClientFSGetFriendsSteamLevelsResponse = 7529;
FSRequestFriendData = 7530; obsolete "renamed to AMRequestFriendData"
AMRequestFriendData = 7530;

DRMRange2 = 7600;
Expand Down Expand Up @@ -1957,7 +1924,6 @@ enum EMsg
ClientGetEmoticonList = 9330;
ClientEmoticonList = 9331;

ClientSharedLibraryBase = 9400; removed "renamed to SLCBase"
SLCBase = 9400;
SLCUserSessionStatus = 9400;
SLCRequestUserSessionStatus = 9401;
Expand All @@ -1981,7 +1947,6 @@ enum EMsg
ClientUnlockStreamingResponse = 9508;
RemoteClientAcceptEULA = 9509;
RemoteClientGetControllerConfig = 9510;
RemoteClientGetControllerConfigResposne = 9511; obsolete "renamed to RemoteClientGetControllerConfigResponse"
RemoteClientGetControllerConfigResponse = 9511;
RemoteClientStreamingEnabled = 9512;
ClientUnlockHEVC = 9513;
Expand Down
19 changes: 0 additions & 19 deletions Resources/SteamLanguage/enums.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,9 @@ enum EPersonaStateFlag flags
Golden = 4;
RemotePlayTogether = 8;

OnlineUsingWeb = 256; removed "renamed to ClientTypeWeb"
ClientTypeWeb = 256;
OnlineUsingMobile = 512; removed "renamed to ClientTypeMobile"
ClientTypeMobile = 512;
OnlineUsingBigPicture = 1024; removed "renamed to ClientTypeTenfoot"
ClientTypeTenfoot = 1024;
OnlineUsingVR = 2048; removed "renamed to ClientTypeVR"
ClientTypeVR = 2048;
LaunchTypeGamepad = 4096;
LaunchTypeCompatTool = 8192;
Expand All @@ -202,11 +198,9 @@ enum EClientPersonaStateFlag flags
Presence = 16;
Metadata = 32; removed
LastSeen = 64;
ClanInfo = 128; obsolete "renamed to UserClanRank"
UserClanRank = 128;
GameExtraInfo = 256;
GameDataBlob = 512;
ClanTag = 1024; obsolete "renamed to ClanData"
ClanData = 1024;
Facebook = 2048;
RichPresence = 4096;
Expand Down Expand Up @@ -295,7 +289,6 @@ enum EPaymentMethod
EClubPoints = 35;
CreditCardJapan = 36;
BankTransferJapan = 37;
PayEasyJapan = 38; removed "renamed to PayEasy"
PayEasy = 38;
Zong = 39;
CultureVoucher = 40;
Expand All @@ -305,7 +298,6 @@ enum EPaymentMethod
GameVoucher = 44;
Multibanco = 45;
Payshop = 46;
Maestro = 47; removed "renamed to MaestroBoaCompra"
MaestroBoaCompra = 47;
OXXO = 48;
ToditoCash = 49;
Expand Down Expand Up @@ -340,9 +332,7 @@ enum EPaymentMethod
BitCoin = 79;
Wallet = 128;
Valve = 129;
SteamPressMaster = 130; removed "renamed to MasterComp"
MasterComp = 130;
StorePromotion = 131; removed "renamed to Promotional"
Promotional = 131;
MasterSubscription = 134;
Payco = 135;
Expand Down Expand Up @@ -746,21 +736,16 @@ enum EOSType
Win98 = 3;
WinME = 4;
WinNT = 5;
Win200 = 6; removed "renamed to Win2000"
Win2000 = 6;
WinXP = 7;
Win2003 = 8;
WinVista = 9;
Win7 = 10; removed "renamed to Windows7"
Windows7 = 10;
Win2008 = 11;
Win2012 = 12;
Win8 = 13; removed "renamed to Windows8"
Windows8 = 13;
Win81 = 14; removed "renamed to Windows81"
Windows81 = 14;
Win2012R2 = 15;
Win10 = 16; removed "renamed to Windows10"
Windows10 = 16;
Win2016 = 17;
Win2019 = 18;
Expand Down Expand Up @@ -790,7 +775,6 @@ enum EServerType
ATS = 6;
CM = 7;
FBS = 8;
FG = 9; removed "renamed to BoxMonitor"
BoxMonitor = 9;
SS = 10;
DRMS = 11;
Expand All @@ -807,7 +791,6 @@ enum EServerType
SLC = 20;
UFS = 21;
Util = 23; removed
DSS = 24; removed "renamed to Community"
Community = 24;
P2PRelayOBSOLETE = 25; removed
AppInformation = 26;
Expand Down Expand Up @@ -837,7 +820,6 @@ enum EServerType
Econ = 48;
Backpack = 49;
UGS = 50;
Store = 51; removed "renamed to StoreFeature"
StoreFeature = 51;
MoneyStats = 52;
CRE = 53;
Expand Down Expand Up @@ -869,7 +851,6 @@ enum EServerType
Steam2Emulator = 79;
PublicTest = 80;
SolrMgr = 81;
BroadcastRelay = 82; removed "renamed to BroadcastIngestor"
BroadcastIngestor = 82;
BroadcastDirectory = 83;
VideoManager = 84;
Expand Down
13 changes: 0 additions & 13 deletions Resources/SteamLanguage/eresult.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ enum EResult
DataCorruption = 53;
DiskFull = 54;
RemoteCallFailed = 55;
PasswordNotSet = 56; removed "renamed to PasswordUnset"
PasswordUnset = 56;
ExternalAccountUnlinked = 57;
PSNTicketInvalid = 58;
Expand All @@ -67,15 +66,13 @@ enum EResult
AccountLogonDenied = 63;
CannotUseOldPassword = 64;
InvalidLoginAuthCode = 65;
AccountLogonDeniedNoMailSent = 66; removed "renamed to AccountLogonDeniedNoMail"
AccountLogonDeniedNoMail = 66;
HardwareNotCapableOfIPT = 67;
IPTInitError = 68;
ParentalControlRestricted = 69;
FacebookQueryError = 70;
ExpiredLoginAuthCode = 71;
IPLoginRestrictionFailed = 72;
AccountLocked = 73; removed "renamed to AccountLockedDown"
AccountLockedDown = 73;
AccountLogonDeniedVerifiedEmailRequired = 74;
NoMatchingURL = 75;
Expand All @@ -88,22 +85,16 @@ enum EResult
RestrictedDevice = 82;
RegionLocked = 83;
RateLimitExceeded = 84;
AccountLogonDeniedNeedTwoFactorCode = 85; removed "renamed to AccountLoginDeniedNeedTwoFactor"
AccountLoginDeniedNeedTwoFactor = 85;
ItemOrEntryHasBeenDeleted = 86; removed "renamed to ItemDeleted"
ItemDeleted = 86;
AccountLoginDeniedThrottle = 87;
TwoFactorCodeMismatch = 88;
TwoFactorActivationCodeMismatch = 89;
AccountAssociatedToMultiplePlayers = 90; removed "renamed to AccountAssociatedToMultiplePartners"
AccountAssociatedToMultiplePartners = 90;
NotModified = 91;
NoMobileDeviceAvailable = 92; removed "renamed to NoMobileDevice"
NoMobileDevice = 92;
TimeIsOutOfSync = 93; removed "renamed to TimeNotSynced"
TimeNotSynced = 93;
SMSCodeFailed = 94;
TooManyAccountsAccessThisResource = 95; removed "renamed to AccountLimitExceeded"
AccountLimitExceeded = 95;
AccountActivityLimitExceeded = 96;
PhoneActivityLimitExceeded = 97;
Expand All @@ -123,16 +114,12 @@ enum EResult
AccountNotFriends = 111;
LimitedUserAccount = 112;
CantRemoveItem = 113;
AccountHasBeenDeleted = 114; removed "renamed to AccountDeleted"
AccountDeleted = 114;
AccountHasAnExistingUserCancelledLicense = 115; removed "renamed to ExistingUserCancelledLicense"
ExistingUserCancelledLicense = 115;
DeniedDueToCommunityCooldown = 116; removed "renamed to CommunityCooldown"
CommunityCooldown = 116;
NoLauncherSpecified = 117;
MustAgreeToSSA = 118;
LauncherMigrated = 119;
CurrentSteamRealmDoesNotMatch = 120; removed "renamed to SteamRealmMismatch"
SteamRealmMismatch = 120;
InvalidSignature = 121;
ParseFailure = 122;
Expand Down
4 changes: 4 additions & 0 deletions Resources/SteamLanguageParser/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ static void Main( string[] args )
{
string projectPath = Environment.GetEnvironmentVariable( "SteamRE" ) ?? args.SingleOrDefault();

projectPath = Path.GetFullPath( projectPath );

if ( !Directory.Exists( projectPath ))
{
throw new Exception( "Unable to find SteamRE project path, please specify the `SteamRE` environment variable" );
}

Console.WriteLine( $"Generating to '{projectPath}'" );

ParseFile( projectPath, Path.Combine( "Resources", "SteamLanguage" ), "steammsg.steamd", "SteamKit2", Path.Combine( "SteamKit2", "SteamKit2", "Base", "Generated"), "SteamLanguage", true, new CSharpGen(), "cs" );

//ParseFile( projectPath, Path.Combine("Resources", "SteamLanguage"), "steammsg.steamd", "SteamKit2", Path.Combine("SteamKit2", "ObjC"), "SteamLanguage", true, new ObjCInterfaceGen(), "h" );
Expand Down
Loading

0 comments on commit 61bae24

Please sign in to comment.