Updated Dota2 protobufs.

This commit is contained in:
Didrole
2012-11-24 21:33:10 +01:00
parent af345c3487
commit fe869801b2
4 changed files with 35 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ enum EDotaClientMessages {
DOTA_CM_WorldLine = 13;
DOTA_CM_RequestGraphUpdate = 14;
DOTA_CM_ItemAlert = 15;
DOTA_CM_ChatWheel = 16;
}
message CDOTAClientMsg_MapPing {
@@ -80,3 +81,7 @@ message CDOTAClientMsg_WorldLine {
message CDOTAClientMsg_RequestGraphUpdate {
}
message CDOTAClientMsg_ChatWheel {
optional .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok];
}

View File

@@ -1,6 +1,21 @@
import "google/protobuf/descriptor.proto";
import "netmessages.proto";
enum EDOTAChatWheelMessage {
k_EDOTA_CW_Ok = 0;
k_EDOTA_CW_Care = 1;
k_EDOTA_CW_GetBack = 2;
k_EDOTA_CW_NeedWards = 3;
k_EDOTA_CW_Stun = 4;
k_EDOTA_CW_Help = 5;
k_EDOTA_CW_Push = 6;
k_EDOTA_CW_GoodJob = 7;
k_EDOTA_CW_Missing = 8;
k_EDOTA_CW_Missing_Top = 9;
k_EDOTA_CW_Missing_Mid = 10;
k_EDOTA_CW_Missing_Bottom = 11;
}
message CDOTAMsg_LocationPing {
optional int32 x = 1;
optional int32 y = 2;

View File

@@ -121,8 +121,6 @@ enum EDOTAGCMsg {
k_EMsgGCPlayerHeroesFavoritesRemove = 7134;
k_EMsgGCPlayerHeroesRecentRequest = 7135;
k_EMsgGCPlayerHeroesRecentResponse = 7136;
k_EMsgGCSetChatChannelVerbosity = 7137;
k_EMsgDOTAChatChannelFullUpdate = 7138;
k_EMsgGCEditTeamLogo = 7139;
k_EMsgGCEditTeamLogoResponse = 7140;
k_EMsgGCSetShowcaseHero = 7141;
@@ -165,6 +163,7 @@ enum EDOTAGCMsg {
k_EMsgGCHalloweenHighScoreRequest = 7178;
k_EMsgGCHalloweenHighScoreResponse = 7179;
k_EMsgGCGenerateDiretidePrizeListResponse = 7180;
k_EMsgGCNotifyResetKeybindings = 7181;
k_EMsgGCDev_GrantWarKill = 8001;
}
@@ -178,6 +177,7 @@ enum DOTA_GameMode {
DOTA_GAMEMODE_INTRO = 6;
DOTA_GAMEMODE_HW = 7;
DOTA_GAMEMODE_REVERSE_CM = 8;
DOTA_GAMEMODE_XMAS = 9;
}
enum DOTA_GameState {
@@ -382,6 +382,7 @@ message CDOTALobbyMember {
optional .DOTALeaverStatus_t leaver_status = 16 [default = DOTA_LEAVER_NONE];
optional uint32 channel = 17;
optional uint32 prize_def_index = 18;
optional uint32 meta_xp_bonus_rate = 19;
}
message CLobbyTeamDetails {
@@ -566,6 +567,7 @@ message CMsgFindSourceTVGames {
optional uint32 leagueid = 4;
optional uint32 heroid = 5;
optional bool diretide = 6;
optional bool xmas = 7;
}
message CMsgSpectateFriendGame {
@@ -1957,3 +1959,7 @@ message CMsgDOTAHalloweenHighScoreResponse {
optional int32 round = 4;
}
message CMsgDOTANotifyResetKeybindings {
optional uint32 keybind_template = 1;
}

View File

@@ -40,6 +40,7 @@ enum EDotaUserMessages {
DOTA_UM_TournamentDrop = 98;
DOTA_UM_ItemAlert = 99;
DOTA_UM_HalloweenDrops = 100;
DOTA_UM_ChatWheel = 101;
}
enum DOTA_CHAT_MESSAGE {
@@ -504,3 +505,9 @@ message CDOTAUserMsg_TournamentDrop {
optional int32 event_type = 2;
}
message CDOTAUserMsg_ChatWheel {
optional .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok];
optional uint32 player_id = 2;
optional uint32 account_id = 3;
}