Skip to content

Commit

Permalink
Merge pull request #820 from xPaw/enums
Browse files Browse the repository at this point in the history
Update some enums
  • Loading branch information
yaakov-h authored Mar 12, 2020
2 parents 424b644 + fb7736d commit 1e7b25b
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dist: xenial

language: csharp
mono: none
dotnet: 3.0
dotnet: 3.1

git:
depth: false
Expand Down
32 changes: 23 additions & 9 deletions Resources/Misc/emsg_list_detailed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
k_EMsgGSAssociateWithClanResponse = 939, // flags: 2, server type: -1
k_EMsgGSComputeNewPlayerCompatibility = 940, // flags: 2, server type: -1
k_EMsgGSComputeNewPlayerCompatibilityResponse = 941, // flags: 2, server type: -1
k_EMsgFileXferRequest = 1200, // flags: 59, server type: -1
k_EMsgBaseFileXfer = 1200, // flags: 59, server type: -1
k_EMsgFileXferResponse = 1201, // flags: 59, server type: -1
k_EMsgFileXferData = 1202, // flags: 59, server type: -1
k_EMsgFileXferEnd = 1203, // flags: 59, server type: -1
Expand Down Expand Up @@ -184,6 +184,7 @@
k_EMsgClientAuthList_Deprecated = 5428, // flags: 2, server type: -1
k_EMsgClientTicketAuthComplete = 5429, // flags: 2, server type: -1
k_EMsgClientIsLimitedAccount = 5430, // flags: 2, server type: -1
k_EMsgClientRequestAuthList = 5431, // flags: 2, server type: -1
k_EMsgClientAuthList = 5432, // flags: 6, server type: 58
k_EMsgClientStat = 5433, // flags: 2, server type: -1
k_EMsgClientP2PConnectionInfo = 5434, // flags: 2, server type: -1
Expand Down Expand Up @@ -331,6 +332,8 @@
k_EMsgClientChallengeRequest = 5623, // flags: 2, server type: -1
k_EMsgClientChallengeResponse = 5624, // flags: 2, server type: -1
k_EMsgBadgeCraftedNotification = 5625, // flags: 2, server type: -1
k_EMsgClientNetworkingMobileCertRequest = 5626, // flags: 2, server type: -1
k_EMsgClientNetworkingMobileCertRequestResponse = 5627, // flags: 2, server type: -1
k_EMsgClientGMSServerQuery = 6403, // flags: 63, server type: 43
k_EMsgGMSClientServerQueryResponse = 6404, // flags: 59, server type: -1
k_EMsgGameServerOutOfDate = 6407, // flags: 59, server type: -1
Expand Down Expand Up @@ -378,6 +381,7 @@
k_EMsgNonStdMsgUMQpipeAAPL = 6809, // flags: 0, server type: -1
k_EMSgNonStdMsgSyslog = 6810, // flags: 0, server type: -1
k_EMsgNonStdMsgLogsink = 6811, // flags: 0, server type: -1
k_EMsgNonStdMsgRedis = 6815, // flags: 0, server type: -1
k_EMsgClientUDSP2PSessionStarted = 7001, // flags: 6, server type: 41
k_EMsgClientUDSP2PSessionEnded = 7002, // flags: 6, server type: 41
k_EMsgClientInviteToGame = 7005, // flags: 6, server type: 102
Expand All @@ -395,15 +399,12 @@
k_EMsgClientUCMEnumerateUserSubscribedFilesResponse = 7322, // flags: 6, server type: 45
k_EMsgClientUCMUpdatePublishedFile = 7325, // flags: 6, server type: 45
k_EMsgClientUCMUpdatePublishedFileResponse = 7326, // flags: 6, server type: 45
k_EMsgClientUCMPublishedFileSubscribed = 7347, // flags: 2, server type: -1
k_EMsgClientUCMPublishedFileUnsubscribed = 7348, // flags: 2, server type: -1
k_EMsgClientUCMGetPublishedFilesForUser = 7360, // flags: 6, server type: 45
k_EMsgClientUCMGetPublishedFilesForUserResponse = 7361, // flags: 6, server type: 45
k_EMsgClientUCMSetUserPublishedFileAction = 7364, // flags: 6, server type: 45
k_EMsgClientUCMSetUserPublishedFileActionResponse = 7365, // flags: 6, server type: 45
k_EMsgClientUCMEnumeratePublishedFilesByUserAction = 7366, // flags: 6, server type: 45
k_EMsgClientUCMEnumeratePublishedFilesByUserActionResponse = 7367, // flags: 6, server type: 45
k_EMsgClientUCMPublishedFileDeleted = 7368, // flags: 2, server type: -1
k_EMsgClientUCMEnumerateUserSubscribedFilesWithUpdates = 7378, // flags: 6, server type: 45
k_EMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse = 7379, // flags: 6, server type: 45
k_EMsgClientUCMPublishedFileUpdated = 7381, // flags: 2, server type: -1
Expand Down Expand Up @@ -441,8 +442,6 @@
k_EMsgCREUpdateUserPublishedItemVoteResponse = 8508, // flags: 6, server type: 53
k_EMsgCREGetUserPublishedItemVoteDetails = 8509, // flags: 6, server type: 53
k_EMsgCREGetUserPublishedItemVoteDetailsResponse = 8510, // flags: 6, server type: 53
k_EMsgCREEnumeratePublishedFiles = 8511, // flags: 6, server type: 53
k_EMsgCREEnumeratePublishedFilesResponse = 8512, // flags: 6, server type: 53
k_EMsgClientPICSChangesSinceRequest = 8901, // flags: 6, server type: 14
k_EMsgClientPICSChangesSinceResponse = 8902, // flags: 6, server type: 14
k_EMsgClientPICSProductInfoRequest = 8903, // flags: 6, server type: 14
Expand All @@ -453,17 +452,32 @@
k_EMsgClientEmoticonList = 9331, // flags: 2, server type: -1
k_EMsgClientSharedLibraryLockStatus = 9405, // flags: 2, server type: -1
k_EMsgClientSharedLibraryStopPlaying = 9406, // flags: 2, server type: -1
k_EMsgRemoteClientStartStream = 9503, // flags: 2, server type: -1
k_EMsgRemoteClientStartStreamResponse = 9504, // flags: 2, server type: -1
k_EMsgRemoteClientPing = 9505, // flags: 2, server type: -1
k_EMsgRemoteClientPingResponse = 9506, // flags: 2, server type: -1
k_EMsgClientUnlockStreaming = 9507, // flags: 59, server type: -1
k_EMsgClientUnlockStreamingResponse = 9508, // flags: 59, server type: -1
k_EMsgRemoteClientGetControllerConfig = 9510, // flags: 2, server type: -1
k_EMsgRemoteClientGetControllerConfigResponse = 9511, // flags: 2, server type: -1
k_EMsgClientUnlockHEVC = 9513, // flags: 59, server type: -1
k_EMsgClientUnlockHEVCResponse = 9514, // flags: 59, server type: -1
k_EMsgClientPlayingSessionState = 9600, // flags: 2, server type: -1
k_EMsgClientConcurrentSessionsBase = 9600, // flags: 2, server type: -1
k_EMsgClientKickPlayingSession = 9601, // flags: 2, server type: -1
k_EMsgClientBroadcastInit = 9700, // flags: 2, server type: -1
k_EMsgClientBroadcastBase = 9700, // flags: 2, server type: -1
k_EMsgClientBroadcastFrames = 9701, // flags: 2, server type: -1
k_EMsgClientBroadcastDisconnect = 9702, // flags: 2, server type: -1
k_EMsgClientBroadcastScreenshot = 9703, // flags: 2, server type: -1
k_EMsgClientBroadcastUploadConfig = 9704, // flags: 2, server type: -1
k_EMsgClientVoiceCallPreAuthorize = 9800, // flags: 59, server type: -1
k_EMsgBaseClient3 = 9800, // flags: 59, server type: -1
k_EMsgClientVoiceCallPreAuthorizeResponse = 9801, // flags: 59, server type: -1
k_EMsgClientServerTimestampRequest = 9802, // flags: 2, server type: -1
k_EMsgClientLANP2PBase = 9900, // flags: 2, server type: -1
k_EMsgClientLANP2PRequestChunkResponse = 9901, // flags: 2, server type: -1
k_EMsgClientSiteLicenseBase = 10100, // flags: 2, server type: -1
k_EMsgClientSiteLicenseCheckout = 10101, // flags: 2, server type: -1
k_EMsgClientSiteLicenseCheckoutResponse = 10102, // flags: 2, server type: -1
k_EMsgClientSiteLicenseGetAvailableSeats = 10103, // flags: 2, server type: -1
k_EMsgClientSiteLicenseGetAvailableSeatsResponse = 10104, // flags: 2, server type: -1
k_EMsgClientSiteLicenseGetContentCacheInfo = 10105, // flags: 2, server type: -1
k_EMsgClientSiteLicenseGetContentCacheInfoResponse = 10106, // flags: 2, server type: -1
4 changes: 4 additions & 0 deletions Resources/SteamLanguage/emsg.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,8 @@ enum EMsg
ClientChallengeRequest = 5623;
ClientChallengeResponse = 5624;
BadgeCraftedNotification = 5625;
ClientNetworkingMobileCertRequest = 5626;
ClientNetworkingMobileCertRequestResponse = 5627;

BaseMDS = 5800;
ClientMDSLoginRequest = 5801; removed
Expand Down Expand Up @@ -1625,6 +1627,7 @@ enum EMsg
NonStdMsgSteam2Emulator = 6812;
NonStdMsgRTMPServer = 6813;
NonStdMsgWebSocket = 6814;
NonStdMsgRedis = 6815;

UDSBase = 7000;
ClientUDSP2PSessionStarted = 7001;
Expand Down Expand Up @@ -1984,6 +1987,7 @@ enum EMsg
ClientVoiceCallPreAuthorizeResponse = 9801;
ClientServerTimestampRequest = 9802;
ClientServerTimestampResponse = 9803;

ClientLANP2PBase = 9900;
ClientLANP2PRequestChunk = 9900;
ClientLANP2PRequestChunkResponse = 9901;
Expand Down
22 changes: 19 additions & 3 deletions Resources/SteamLanguage/enums.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ enum EPersonaStateFlag flags
HasRichPresence = 1;
InJoinableGame = 2;
Golden = 4;
RemotePlayTogether = 8;

OnlineUsingWeb = 256; removed "renamed to ClientTypeWeb"
ClientTypeWeb = 256;
Expand Down Expand Up @@ -628,8 +629,9 @@ enum EContentDownloadSourceType
SLS = 6;
SteamCache = 7;
OpenCache = 8;
LANCache = 9;

Max = 9;
Max = 10;
};

enum EPlatformType
Expand Down Expand Up @@ -710,6 +712,7 @@ enum EOSType
MacOS1012 = -85;
Macos1013 = -84;
Macos1014 = -83;
Macos1015 = -82;
MacOSMax = -1;

LinuxUnknown = -203;
Expand Down Expand Up @@ -892,8 +895,21 @@ enum EServerType
TimeMachine = 111;
VACDBMaster = 112;
ContentServerConfig = 113;

Max = 114;
Minigame = 114;
MLTrain = 115;
VACTest = 116;
TaxService = 117;
MLInference = 118;
UGSAggregate = 119;
TURN = 120;
RemoteClient = 121;
BroadcastOrigin = 122;
BroadcastChannel = 123;
SteamAR = 124;
China = 125;
CrashDump = 126;

Max = 127;
};

enum EBillingType
Expand Down
2 changes: 2 additions & 0 deletions Resources/SteamLanguage/eresult.steamd
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,6 @@ enum EResult
AccountNotFriends = 111;
LimitedUserAccount = 112;
CantRemoveItem = 113;
AccountHasBeenDeleted = 114;
AccountHasAnExistingUserCancelledLicense = 115;
};
2 changes: 1 addition & 1 deletion Resources/SteamLanguage/generate.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off

dotnet ..\SteamLanguageParser\bin\Release\netcoreapp2.0\SteamLanguageParser.dll ..\..\
dotnet ..\SteamLanguageParser\bin\Release\SteamLanguageParser.dll ..\..\
2 changes: 1 addition & 1 deletion Resources/SteamLanguage/generate.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
BASEDIR="$(dirname $0)"
cd "$BASEDIR"
dotnet ../SteamLanguageParser/bin/Release/netcoreapp2.0/SteamLanguageParser.dll ../..
dotnet ../SteamLanguageParser/bin/Release/SteamLanguageParser.dll ../..

4 changes: 3 additions & 1 deletion Resources/SteamLanguageParser/SteamLanguageParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RollForward>LatestMajor</RollForward>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ProjectGuid>{CCAB4961-4C59-4400-978B-7D9552AE2296}</ProjectGuid>
</PropertyGroup>

Expand Down
25 changes: 23 additions & 2 deletions SteamKit2/SteamKit2/Base/Generated/SteamLanguage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,8 @@ public enum EMsg
ClientChallengeRequest = 5623,
ClientChallengeResponse = 5624,
BadgeCraftedNotification = 5625,
ClientNetworkingMobileCertRequest = 5626,
ClientNetworkingMobileCertRequestResponse = 5627,
BaseMDS = 5800,
AMToMDSGetDepotDecryptionKey = 5812,
MDSToAMGetDepotDecryptionKeyResponse = 5813,
Expand Down Expand Up @@ -1430,6 +1432,7 @@ public enum EMsg
NonStdMsgSteam2Emulator = 6812,
NonStdMsgRTMPServer = 6813,
NonStdMsgWebSocket = 6814,
NonStdMsgRedis = 6815,
UDSBase = 7000,
ClientUDSP2PSessionStarted = 7001,
ClientUDSP2PSessionEnded = 7002,
Expand Down Expand Up @@ -1859,6 +1862,8 @@ public enum EResult
AccountNotFriends = 111,
LimitedUserAccount = 112,
CantRemoveItem = 113,
AccountHasBeenDeleted = 114,
AccountHasAnExistingUserCancelledLicense = 115,
}
public enum EUniverse
{
Expand Down Expand Up @@ -2020,6 +2025,7 @@ public enum EPersonaStateFlag
HasRichPresence = 1,
InJoinableGame = 2,
Golden = 4,
RemotePlayTogether = 8,
ClientTypeWeb = 256,
ClientTypeMobile = 512,
ClientTypeTenfoot = 1024,
Expand Down Expand Up @@ -2422,7 +2428,8 @@ public enum EContentDownloadSourceType
SLS = 6,
SteamCache = 7,
OpenCache = 8,
Max = 9,
LANCache = 9,
Max = 10,
}
public enum EPlatformType
{
Expand Down Expand Up @@ -2492,6 +2499,7 @@ public enum EOSType
MacOS1012 = -85,
Macos1013 = -84,
Macos1014 = -83,
Macos1015 = -82,
MacOSMax = -1,
LinuxUnknown = -203,
Linux22 = -202,
Expand Down Expand Up @@ -2649,7 +2657,20 @@ public enum EServerType
TimeMachine = 111,
VACDBMaster = 112,
ContentServerConfig = 113,
Max = 114,
Minigame = 114,
MLTrain = 115,
VACTest = 116,
TaxService = 117,
MLInference = 118,
UGSAggregate = 119,
TURN = 120,
RemoteClient = 121,
BroadcastOrigin = 122,
BroadcastChannel = 123,
SteamAR = 124,
China = 125,
CrashDump = 126,
Max = 127,
}
public enum EBillingType
{
Expand Down

0 comments on commit 1e7b25b

Please sign in to comment.