Skip to content

Commit

Permalink
protobufs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Oct 7, 2016
1 parent 9177491 commit ca75440
Show file tree
Hide file tree
Showing 20 changed files with 1,810 additions and 1,230 deletions.
297 changes: 145 additions & 152 deletions dota2/protobufs/base_gcmessages_pb2.py

Large diffs are not rendered by default.

94 changes: 54 additions & 40 deletions dota2/protobufs/dota_gcmessages_client_chat_pb2.py

Large diffs are not rendered by default.

343 changes: 221 additions & 122 deletions dota2/protobufs/dota_gcmessages_client_match_management_pb2.py

Large diffs are not rendered by default.

1,139 changes: 573 additions & 566 deletions dota2/protobufs/dota_gcmessages_client_pb2.py

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions dota2/protobufs/dota_gcmessages_client_tournament_pb2.py

Large diffs are not rendered by default.

130 changes: 85 additions & 45 deletions dota2/protobufs/dota_gcmessages_client_watch_pb2.py

Large diffs are not rendered by default.

223 changes: 129 additions & 94 deletions dota2/protobufs/dota_gcmessages_common_match_management_pb2.py

Large diffs are not rendered by default.

595 changes: 453 additions & 142 deletions dota2/protobufs/dota_gcmessages_common_pb2.py

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions dota2/protobufs/dota_gcmessages_msgid_pb2.py

Large diffs are not rendered by default.

105 changes: 55 additions & 50 deletions dota2/protobufs/dota_shared_enums_pb2.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion protobufs/base_gcmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ message CSOEconGameAccountClient {
optional bool in_coaches_list = 5;
optional fixed32 trade_ban_expiration = 6;
optional fixed32 duel_ban_expiration = 7;
optional uint32 preview_item_def = 8 [default = 0];
optional bool made_first_purchase = 9 [default = false];
}

Expand Down
1 change: 1 addition & 0 deletions protobufs/dota_gcmessages_client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ message CStaticLeagueData {
optional string location = 18;
optional string inventory_image = 19;
optional string square_image = 20;
optional bool battle_pass_rollup = 21;
}

message CLeagueData {
Expand Down
2 changes: 2 additions & 0 deletions protobufs/dota_gcmessages_client_chat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ message CMsgDOTAChatMessage {
optional uint32 status = 23;
optional bool battle_cup_victory = 24;
optional uint32 badge_level = 25;
optional uint32 suggest_pick_hero_id = 26;
optional string suggest_pick_hero_role = 27;
}

message CMsgDOTAChatMember {
Expand Down
16 changes: 14 additions & 2 deletions protobufs/dota_gcmessages_client_match_management.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ message CMsgStartFindingMatchResult {
message CMsgStopFindingMatch {
}

message CMsgPartyBuilderOptions {
optional uint32 additional_slots = 1;
optional .MatchType match_type = 2 [default = MATCH_TYPE_CASUAL];
optional uint32 matchgroups = 3;
optional uint32 client_version = 4;
optional .MatchLanguages language = 5 [default = MATCH_LANGUAGE_INVALID];
}

message CMsgReadyUp {
optional .DOTALobbyReadyState state = 1 [default = DOTALobbyReadyState_UNDECLARED];
optional fixed64 ready_up_key = 2;
Expand All @@ -84,7 +92,7 @@ message CMsgPracticeLobbySetDetails {
optional uint32 server_region = 4;
optional uint32 game_mode = 5;
optional .DOTA_CM_PICK cm_pick = 6 [default = DOTA_CM_RANDOM];
optional .DOTABotDifficulty bot_difficulty = 9 [default = BOT_DIFFICULTY_MEDIUM];
optional .DOTABotDifficulty bot_difficulty_radiant = 9 [default = BOT_DIFFICULTY_PASSIVE];
optional bool allow_cheats = 10;
optional bool fill_with_bots = 11;
optional bool intro_mode = 12;
Expand Down Expand Up @@ -118,6 +126,9 @@ message CMsgPracticeLobbySetDetails {
optional .SelectionPriorityType league_selection_priority_choice = 40 [default = UNDEFINED];
optional .SelectionPriorityType league_non_selection_priority_choice = 41 [default = UNDEFINED];
optional .LobbyDotaPauseSetting pause_setting = 42 [default = LobbyDotaPauseSetting_Unlimited];
optional .DOTABotDifficulty bot_difficulty_dire = 43 [default = BOT_DIFFICULTY_PASSIVE];
optional uint64 bot_radiant = 44;
optional uint64 bot_dire = 45;
}

message CMsgPracticeLobbyCreate {
Expand Down Expand Up @@ -316,9 +327,10 @@ message CMsgQuickJoinCustomLobbyResponse {
message CMsgBotGameCreate {
optional string search_key = 1;
optional uint32 client_version = 2;
optional .DOTABotDifficulty difficulty = 3 [default = BOT_DIFFICULTY_PASSIVE];
optional .DOTABotDifficulty difficulty_radiant = 3 [default = BOT_DIFFICULTY_PASSIVE];
optional .DOTA_GC_TEAM team = 4 [default = DOTA_GC_TEAM_GOOD_GUYS];
optional uint32 game_mode = 5;
optional .DOTABotDifficulty difficulty_dire = 6 [default = BOT_DIFFICULTY_PASSIVE];
}

message CMsgCustomGameCreate {
Expand Down
2 changes: 1 addition & 1 deletion protobufs/dota_gcmessages_client_tournament.proto
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ message CMsgDOTAWeekendTourneyPlayerHistory {
optional uint32 team_result = 6;
repeated uint32 account_id = 7;
optional string team_name = 8;
optional uint32 season_trophy_id = 9;
}

optional uint32 account_id = 1;
optional uint32 season_trophy_id = 2;
repeated .CMsgDOTAWeekendTourneyPlayerHistory.Tournament tournaments = 3;
}

Expand Down
4 changes: 4 additions & 0 deletions protobufs/dota_gcmessages_client_watch.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ message CMsgGCToClientFindTopSourceTVGamesResponse {
optional bool specific_games = 8;
}

message CMsgGCToClientTopWeekendTourneyGames {
repeated .CSourceTVGameSmall live_games = 1;
}

message CMsgClientToGCTopMatchesRequest {
optional uint32 hero_id = 1;
optional uint32 player_account_id = 2;
Expand Down
40 changes: 40 additions & 0 deletions protobufs/dota_gcmessages_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ enum DOTA_COMBATLOG_TYPES {
DOTA_COMBATLOG_UNIT_SUMMONED = 33;
DOTA_COMBATLOG_ATTACK_EVADE = 34;
DOTA_COMBATLOG_TREE_CUT = 35;
DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36;
DOTA_COMBATLOG_END_KILLSTREAK = 37;
}

message CSODOTAGameAccountClient {
Expand Down Expand Up @@ -366,6 +368,8 @@ message CMsgDOTACombatLogEntry {
optional bool heal_from_lifesteal = 56;
optional bool modifier_purged = 57;
optional bool spell_evaded = 58;
optional bool motion_controller_modifier = 59;
optional bool long_range_kill = 60;
}

message CMsgDOTAProfileCard {
Expand Down Expand Up @@ -1033,3 +1037,39 @@ message CMsgDOTAFantasyPlayerMatchStats {
repeated .CMsgDOTAFantasyPlayerStats matches = 1;
}

message CMsgDOTABotDebugInfo {
message Bot {
message Mode {
optional uint32 mode_id = 1;
optional float desire = 2;
optional uint32 target_entity = 3;
optional uint32 target_x = 4;
optional uint32 target_y = 5;
optional uint32 target_z = 6;
}

optional uint32 player_owner_id = 1;
optional uint32 hero_id = 2;
optional uint32 difficulty = 3;
optional uint32 power_current = 4;
optional uint32 power_max = 5;
optional uint32 move_target_x = 6;
optional uint32 move_target_y = 7;
optional uint32 move_target_z = 8;
optional uint32 active_mode_id = 9;
repeated .CMsgDOTABotDebugInfo.Bot.Mode modes = 10;
}

repeated .CMsgDOTABotDebugInfo.Bot bots = 1;
optional float desire_push_lane_top = 2;
optional float desire_push_lane_mid = 3;
optional float desire_push_lane_bot = 4;
optional float desire_defend_lane_top = 5;
optional float desire_defend_lane_mid = 6;
optional float desire_defend_lane_bot = 7;
optional float desire_farm_lane_top = 8;
optional float desire_farm_lane_mid = 9;
optional float desire_farm_lane_bot = 10;
optional float desire_farm_roshan = 11;
}

9 changes: 7 additions & 2 deletions protobufs/dota_gcmessages_common_match_management.proto
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ message CSODOTAParty {
optional uint32 tourney_bracket_round = 50;
optional uint32 tourney_queue_deadline_time = 54;
optional .ETourneyQueueDeadlineState tourney_queue_deadline_state = 55 [default = k_ETourneyQueueDeadlineState_Normal];
optional uint32 party_builder_slots_to_fill = 56;
optional uint32 party_builder_match_groups = 57;
optional uint32 party_builder_start_time = 58;
}

message CSODOTAPartyInvite {
Expand Down Expand Up @@ -243,11 +246,10 @@ message CSODOTALobby {
optional .DOTA_CM_PICK cm_pick = 28 [default = DOTA_CM_RANDOM];
optional uint64 match_id = 30;
optional bool allow_spectating = 31 [default = true];
optional .DOTABotDifficulty bot_difficulty = 36 [default = BOT_DIFFICULTY_HARD];
optional .DOTABotDifficulty bot_difficulty_radiant = 36 [default = BOT_DIFFICULTY_HARD];
optional .DOTAGameVersion game_version = 37 [default = GAME_VERSION_CURRENT];
repeated .CLobbyTimedRewardDetails timed_reward_details = 38;
optional string pass_key = 39;
repeated .DOTABotDifficulty bot_slot_difficulty = 41;
optional uint32 leagueid = 42;
optional uint32 penalty_level_radiant = 43 [default = 0];
optional uint32 penalty_level_dire = 44 [default = 0];
Expand Down Expand Up @@ -296,5 +298,8 @@ message CSODOTALobby {
optional uint32 weekend_tourney_division_id = 90;
optional uint32 weekend_tourney_skill_level = 91;
optional uint32 weekend_tourney_bracket_round = 92;
optional .DOTABotDifficulty bot_difficulty_dire = 93 [default = BOT_DIFFICULTY_HARD];
optional uint64 bot_radiant = 94;
optional uint64 bot_dire = 95;
}

2 changes: 2 additions & 0 deletions protobufs/dota_gcmessages_msgid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -682,5 +682,7 @@ enum EDOTAGCMsg {
k_EMsgGCToGCPublicChatCommunicationBan = 8195;
k_EMsgGCToGCUpdateAccountPublicChatBan = 8196;
k_EMsgGCChatReportPublicSpam = 8197;
k_EMsgClientToGCSetPartyBuilderOptions = 8198;
k_EMsgClientToGCSetPartyBuilderOptionsResponse = 8199;
}

3 changes: 2 additions & 1 deletion protobufs/dota_shared_enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ enum EEvent {
EVENT_ID_FROSTIVUS = 12;
EVENT_ID_WINTER_MAJOR_2016 = 13;
EVENT_ID_INTERNATIONAL_2016 = 14;
EVENT_ID_COUNT = 15;
EVENT_ID_FALL_MAJOR_2016 = 15;
EVENT_ID_COUNT = 16;
}

enum DOTALeaverStatus_t {
Expand Down

0 comments on commit ca75440

Please sign in to comment.