Updated Dota 2 protobufs

This commit is contained in:
Netshroud
2012-12-14 11:17:03 +11:00
parent f034dc7648
commit 35661054b8
7 changed files with 69 additions and 20 deletions

View File

@@ -536,5 +536,6 @@ enum Activity {
ACT_DOTA_BELLYACHE_END = 535;
ACT_DOTA_ROQUELAIRE_LAND = 536;
ACT_DOTA_ROQUELAIRE_LAND_IDLE = 537;
ACT_DOTA_GREEVIL_CAST = 538;
}

View File

@@ -23,15 +23,6 @@ enum EGCBaseMsg {
k_EMsgGCReplay_UploadedToYouTube = 4510;
}
enum EGCSharedMsg {
k_EMsgInterGCAchievementAwarded = 7001;
k_EMsgInterGCAchievementAwardedResponse = 7002;
k_EMsgInterGCLoadAchievements = 7003;
k_EMsgInterGCLoadAchievementResponse = 7004;
k_EMsgInterGCSurgeTest = 7005;
k_EMsgInterGCProfile = 7006;
}
enum EGCBaseProtoObjectTypes {
k_EProtoObjectPartyInvite = 1001;
k_EProtoObjectLobbyInvite = 1002;

View File

@@ -84,8 +84,6 @@ enum EDOTAGCMsg {
k_EMsgGCCancelWatchGame = 7097;
k_EMsgGCProfileRequest = 7098;
k_EMsgGCProfileResponse = 7099;
k_EMsgGCDOTAIntraGCRankRequest = 7100;
k_EMsgGCDOTAIntraGCRankResponse = 7101;
k_EMsgGCPopup = 7102;
k_EMsgGCDOTANotifySuccessfulReport = 7103;
k_EMsgGCDOTAClearNotifySuccessfulReport = 7104;
@@ -164,6 +162,8 @@ enum EDOTAGCMsg {
k_EMsgGCHalloweenHighScoreResponse = 7179;
k_EMsgGCGenerateDiretidePrizeListResponse = 7180;
k_EMsgGCNotifyResetKeybindings = 7181;
k_EMsgGCStorePromoPagesRequest = 7182;
k_EMsgGCStorePromoPagesResponse = 7183;
k_EMsgGCDev_GrantWarKill = 8001;
}
@@ -1058,6 +1058,7 @@ message CMsgDOTATeam {
optional string url = 16;
optional uint32 fullgamesplayed = 17;
repeated uint32 leagues = 18;
optional uint32 gamesplayed = 19;
}
message CMsgDOTACreateTeam {
@@ -1645,14 +1646,6 @@ message CMsgDOTAProfileResponse {
optional uint32 team_id = 12;
}
message CMsgDOTAIntraGCRankRequest {
optional uint32 account_id = 1;
}
message CMsgDOTAIntraGCRankResponse {
optional uint32 rank = 1;
}
message CMsgDOTANotifySuccessfulReport {
}
@@ -1963,3 +1956,13 @@ message CMsgDOTANotifyResetKeybindings {
optional uint32 keybind_template = 1;
}
message CMsgDOTAStorePromoPagesRequest {
optional uint32 version_seen = 1;
}
message CMsgDOTAStorePromoPagesResponse {
optional uint32 version = 1;
optional string title = 2;
repeated string page_url = 3;
}

View File

@@ -100,6 +100,7 @@ enum DOTA_CHAT_MESSAGE {
CHAT_MESSAGE_INFORMATIONAL = 52;
CHAT_MESSAGE_AEGIS_STOLEN = 53;
CHAT_MESSAGE_ROSHAN_CANDY = 54;
CHAT_MESSAGE_ITEM_GIFTED = 55;
}
enum DOTA_NO_BATTLE_POINTS_REASONS {

View File

@@ -69,3 +69,23 @@ message CMsgGCMultiplexMessage {
repeated fixed64 steamids = 3;
}
message CGCToGCMsgMasterAck {
optional uint32 dir_index = 1;
optional uint32 gc_type = 2;
}
message CGCToGCMsgMasterAck_Response {
optional int32 eresult = 1 [default = 2];
}
message CGCToGCMsgRouted {
optional uint32 msg_type = 1;
optional fixed64 sender_id = 2;
optional bytes net_message = 3;
}
message CGCToGCMsgRoutedReply {
optional uint32 msg_type = 1;
optional bytes net_message = 2;
}

View File

@@ -24,7 +24,6 @@ enum EGCSystemMsg {
k_EGCMsgPreTestSetup = 69;
k_EGCMsgRecordSupportAction = 70;
k_EGCMsgGetAccountDetails_DEPRECATED = 71;
k_EGCMsgSendInterAppMessage = 72;
k_EGCMsgReceiveInterAppMessage = 73;
k_EGCMsgFindAccounts = 74;
k_EGCMsgPostAlert = 75;
@@ -57,6 +56,8 @@ enum EGCSystemMsg {
k_EGCMsgMemCachedGetResponse = 201;
k_EGCMsgMemCachedSet = 202;
k_EGCMsgMemCachedDelete = 203;
k_EGCMsgMasterSetDirectory = 220;
k_EGCMsgMasterSetDirectoryResponse = 221;
}
enum ESOMsg {
@@ -70,3 +71,10 @@ enum ESOMsg {
k_ESOMsg_CacheSubscriptionRefresh = 28;
}
enum EGCToGCMsg {
k_EGCToGCMsgMasterAck = 150;
k_EGCToGCMsgMasterAckResponse = 151;
k_EGCToGCMsgRouted = 152;
k_EGCToGCMsgRoutedReply = 153;
}

View File

@@ -9,6 +9,14 @@ extend .google.protobuf.MessageOptions {
optional int32 msgpool_hard_limit = 50001 [default = 384];
}
enum GCProtoBufMsgSrc {
GCProtoBufMsgSrc_Unspecified = 0;
GCProtoBufMsgSrc_FromSystem = 1;
GCProtoBufMsgSrc_FromSteamID = 2;
GCProtoBufMsgSrc_FromGC = 3;
GCProtoBufMsgSrc_ReplySystem = 4;
}
message CMsgProtoBufHeader {
option (msgpool_soft_limit) = 1024;
option (msgpool_hard_limit) = 256;
@@ -18,6 +26,8 @@ message CMsgProtoBufHeader {
optional fixed64 job_id_source = 10 [default = 18446744073709551615];
optional fixed64 job_id_target = 11 [default = 18446744073709551615];
optional string target_job_name = 12;
optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
optional uint32 gc_dir_index_source = 201;
}
message CMsgWebAPIKey {
@@ -302,3 +312,18 @@ message CMsgGCGetPersonaNames_Response {
repeated fixed64 failed_lookup_steamids = 2;
}
message CMsgGCMsgMasterSetDirectory {
message SubGC {
optional uint32 dir_index = 1;
optional string name = 2;
optional string box = 3;
}
optional uint32 master_dir_index = 1;
repeated .CMsgGCMsgMasterSetDirectory.SubGC dir = 2;
}
message CMsgGCMsgMasterSetDirectory_Response {
optional int32 eresult = 1 [default = 2];
}