Skip to content

Commit

Permalink
update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Dec 16, 2017
1 parent 1fc11dc commit 55a5613
Show file tree
Hide file tree
Showing 10 changed files with 1,378 additions and 1,111 deletions.
91 changes: 49 additions & 42 deletions dota2/protobufs/dota_gcmessages_client_chat_pb2.py

Large diffs are not rendered by default.

1,694 changes: 890 additions & 804 deletions dota2/protobufs/dota_gcmessages_client_pb2.py

Large diffs are not rendered by default.

491 changes: 286 additions & 205 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.

163 changes: 107 additions & 56 deletions dota2/protobufs/dota_shared_enums_pb2.py

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion protobufs/dota_gcmessages_client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ message CMsgDOTARequestMatches {
optional uint64 start_at_match_id = 11;
optional fixed32 min_players = 12;
optional uint32 request_id = 13;
optional bool tournament_games_only = 14;
optional uint32 account_id = 15;
optional uint32 league_id = 16;
optional dota.CMsgDOTARequestMatches.SkillLevel skill = 17 [default = Any];
Expand Down Expand Up @@ -732,6 +731,16 @@ message CMsgGCGetHeroStandingsResponse {
repeated dota.CMsgGCGetHeroStandingsResponse.Hero standings = 1;
}

message CMsgGCGetHeroTimedStats {
optional uint32 account_id = 1;
optional uint32 hero_id = 2;
}

message CMsgGCGetHeroTimedStatsResponse {
optional uint32 hero_id = 1;
repeated dota.CMatchPlayerTimedStats timed_stats = 2;
}

message CMsgGCItemEditorReservationsRequest {
}

Expand Down
1 change: 1 addition & 0 deletions protobufs/dota_gcmessages_client_chat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ message CMsgDOTAChatMessage {
optional bool terse = 28;
optional bool ignore_muted = 31;
optional dota.CMsgDOTAChatMessage.TriviaAnswered trivia_answer = 32;
optional uint32 requested_ability_id = 33;
}

message CMsgDOTAChatMember {
Expand Down
10 changes: 10 additions & 0 deletions protobufs/dota_gcmessages_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,16 @@ message CMatchPlayerAbilityUpgrade {
optional uint32 time = 2;
}

message CMatchPlayerTimedStats {
optional uint32 time = 1;
optional uint32 kills = 2;
optional uint32 deaths = 3;
optional uint32 assists = 4;
optional uint32 net_worth = 5;
optional uint32 last_hits = 6;
optional uint32 denies = 7;
}

message CMatchAdditionalUnitInventory {
optional string unit_name = 1;
repeated uint32 items = 2;
Expand Down
2 changes: 2 additions & 0 deletions protobufs/dota_gcmessages_msgid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -723,5 +723,7 @@ enum EDOTAGCMsg {
k_EMsgPurchaseItemWithEventPoints = 8248;
k_EMsgPurchaseItemWithEventPointsResponse = 8249;
k_EMsgServerToGCMatchPlayerItemPurchaseHistory = 8250;
k_EMsgGCGetHeroTimedStats = 8252;
k_EMsgGCGetHeroTimedStatsResponse = 8253;
}

12 changes: 11 additions & 1 deletion protobufs/dota_shared_enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ enum EEvent {
EVENT_ID_INTERNATIONAL_2017 = 18;
EVENT_ID_BATTLE_PASS_REWORK = 19;
EVENT_ID_SINGLES_DAY_2017 = 20;
EVENT_ID_COUNT = 21;
EVENT_ID_FROSTIVUS_2017 = 21;
EVENT_ID_COUNT = 22;
}

enum DOTALeaverStatus_t {
Expand Down Expand Up @@ -340,6 +341,15 @@ enum EMatchOutcome {
k_EMatchOutcome_NotScored_Canceled = 68;
}

enum ELaneType {
LANE_TYPE_UNKNOWN = 0;
LANE_TYPE_SAFE = 1;
LANE_TYPE_OFF = 2;
LANE_TYPE_MID = 3;
LANE_TYPE_JUNGLE = 4;
LANE_TYPE_ROAM = 5;
}

enum EBadgeType {
k_EBadgeType_TI7_Midweek = 1;
k_EBadgeType_TI7_Finals = 2;
Expand Down

0 comments on commit 55a5613

Please sign in to comment.