Skip to content

Commit

Permalink
update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Jan 25, 2018
1 parent b3d047a commit 7171cc5
Show file tree
Hide file tree
Showing 8 changed files with 1,380 additions and 612 deletions.
1,144 changes: 916 additions & 228 deletions dota2/protobufs/dota_gcmessages_client_pb2.py

Large diffs are not rendered by default.

35 changes: 21 additions & 14 deletions dota2/protobufs/dota_gcmessages_common_match_management_pb2.py

Large diffs are not rendered by default.

260 changes: 130 additions & 130 deletions dota2/protobufs/dota_gcmessages_common_pb2.py

Large diffs are not rendered by default.

469 changes: 232 additions & 237 deletions dota2/protobufs/dota_gcmessages_msgid_pb2.py

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions protobufs/dota_gcmessages_client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,66 @@ message CMsgGCToClientBattlePassRollup_Winter2017 {
optional dota.CMsgGCToClientBattlePassRollup_Winter2017.FantasyChallenge fantasy_challenge = 9;
}

message CMsgGCToClientBattlePassRollup_TI7 {
message Questlines {
optional string name = 1;
optional uint32 onestar = 2;
optional uint32 twostar = 3;
optional uint32 threestar = 4;
optional uint32 total = 5;
}

message Wagering {
optional uint32 total_wagered = 1;
optional uint32 total_won = 2;
optional uint32 average_won = 3;
optional uint32 success_rate = 4;
optional uint32 total_tips = 5;
}

message Achievements {
optional uint32 completed = 1;
optional uint32 total = 2;
optional uint32 points = 3;
}

message BattleCup {
optional uint32 wins = 1;
optional uint32 score = 2;
}

message Predictions {
optional uint32 correct = 1;
optional uint32 total = 2;
optional uint32 points = 3;
}

message Bracket {
optional uint32 correct = 1;
optional uint32 points = 2;
}

message PlayerCard {
optional uint32 account_id = 1;
optional uint32 quality = 2;
}

message FantasyChallenge {
optional float total_score = 1;
optional float percentile = 2;
}

optional uint32 battle_pass_level = 1;
repeated dota.CMsgGCToClientBattlePassRollup_TI7.Questlines questlines = 2;
optional dota.CMsgGCToClientBattlePassRollup_TI7.Wagering wagering = 3;
optional dota.CMsgGCToClientBattlePassRollup_TI7.Achievements achievements = 4;
optional dota.CMsgGCToClientBattlePassRollup_TI7.BattleCup battle_cup = 5;
optional dota.CMsgGCToClientBattlePassRollup_TI7.Predictions predictions = 6;
optional dota.CMsgGCToClientBattlePassRollup_TI7.Bracket bracket = 7;
repeated dota.CMsgGCToClientBattlePassRollup_TI7.PlayerCard player_cards = 8;
optional dota.CMsgGCToClientBattlePassRollup_TI7.FantasyChallenge fantasy_challenge = 9;
}

message CMsgGCToClientBattlePassRollupRequest {
optional uint32 event_id = 1;
optional uint32 account_id = 2;
Expand All @@ -2144,6 +2204,7 @@ message CMsgGCToClientBattlePassRollupResponse {
optional dota.CMsgGCToClientBattlePassRollup_International2016 event_ti6 = 1;
optional dota.CMsgGCToClientBattlePassRollup_Fall2016 event_fall2016 = 2;
optional dota.CMsgGCToClientBattlePassRollup_Winter2017 event_winter2017 = 3;
optional dota.CMsgGCToClientBattlePassRollup_TI7 event_ti7 = 4;
}

message CMsgGCToClientBattlePassRollupListRequest {
Expand Down Expand Up @@ -2410,3 +2471,20 @@ message CMsgGCRequestItemRecommendationsResponse {
repeated uint32 recommended_item_ids = 1;
}

message CMsgGCRequestSkillUpRecommendations {
optional uint32 mmr = 1;
optional uint32 hero_id = 2;
repeated uint32 allied_hero_ids = 3;
repeated uint32 enemy_hero_ids = 4;
repeated uint32 ability_ids = 5;
}

message CMsgGCRequestSkillUpRecommendationsResponse {
message AbilitySelection {
optional uint32 ability_id = 1;
optional float weight = 2;
}

repeated dota.CMsgGCRequestSkillUpRecommendationsResponse.AbilitySelection abilities = 1;
}

2 changes: 1 addition & 1 deletion protobufs/dota_gcmessages_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ message CMsgDOTARealtimeGameStats {
}

message ItemDetails {
optional uint32 id = 1;
optional uint32 item_ability_id = 1;
optional string name = 2;
optional int32 time = 3;
optional bool sold = 4;
Expand Down
1 change: 1 addition & 0 deletions protobufs/dota_gcmessages_common_match_management.proto
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ message CSODOTALobby {
optional bool series_current_selection_priority_used_coin_toss = 102;
optional dota.EEvent current_primary_event = 103 [default = EVENT_ID_NONE];
optional bool lowpri_deprecated = 104;
repeated uint32 emergency_disabled_hero_ids = 105;
}

message CMsgLobbyPlaytestDetails {
Expand Down
3 changes: 1 addition & 2 deletions protobufs/dota_gcmessages_msgid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,6 @@ enum EDOTAGCMsg {
k_EMsgGCToGCCheckOwnsEntireEmoticonRangeResponse = 7612;
k_EMsgGCUpdateClippy = 7613;
k_EMsgGCUpdateClientClippy = 7614;
k_EMsgGCRequestItemRecommendations = 7615;
k_EMsgGCRequestItemRecommendationsResponse = 7616;
k_EMsgGCDev_GrantWarKill = 8001;
k_EMsgServerToGCLockCharmTrading = 8004;
k_EMsgClientToGCPlayerStatsRequest = 8006;
Expand Down Expand Up @@ -725,5 +723,6 @@ enum EDOTAGCMsg {
k_EMsgServerToGCMatchPlayerItemPurchaseHistory = 8250;
k_EMsgGCGetHeroTimedStats = 8252;
k_EMsgGCGetHeroTimedStatsResponse = 8253;
k_EMsgServerToGCMatchStateHistory = 8255;
}

0 comments on commit 7171cc5

Please sign in to comment.