Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 33 additions & 2 deletions packages/dota2/proto/compiled/proto.json
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,9 @@
},
"CMsgVector": {
"edition": "proto2",
"options": {
"(codegen_delta_encoder)": true
},
"fields": {
"x": {
"type": "float",
Expand All @@ -837,6 +840,9 @@
},
"CMsgVector2D": {
"edition": "proto2",
"options": {
"(codegen_delta_encoder)": true
},
"fields": {
"x": {
"type": "float",
Expand All @@ -850,6 +856,9 @@
},
"CMsgQAngle": {
"edition": "proto2",
"options": {
"(codegen_delta_encoder)": true
},
"fields": {
"x": {
"type": "float",
Expand All @@ -867,6 +876,9 @@
},
"CMsgQuaternion": {
"edition": "proto2",
"options": {
"(codegen_delta_encoder)": true
},
"fields": {
"x": {
"type": "float",
Expand Down Expand Up @@ -1953,7 +1965,8 @@
"CHAT_MESSAGE_CRAFTING_XP": 122,
"CHAT_MESSAGE_ROSHAN_ROAR": 123,
"CHAT_MESSAGE_STONE_OF_RECALL_USED": 124,
"CHAT_MESSAGE_DEITY_BLESSING": 125
"CHAT_MESSAGE_DEITY_BLESSING": 125,
"CHAT_MESSAGE_SMOKE_ACTIVATED": 126
}
},
"DOTA_ABILITY_PING_TYPE": {
Expand Down Expand Up @@ -6998,6 +7011,11 @@
"type": ".CMsgVector",
"id": 14,
"protoName": "position_objectspace"
},
"normalObjectspace": {
"type": ".CMsgVector",
"id": 15,
"protoName": "normal_objectspace"
}
}
},
Expand Down Expand Up @@ -7655,9 +7673,10 @@
"type": ".CMsgVoiceAudio",
"id": 1
},
"client": {
"clientDeprecated": {
"type": "int32",
"id": 2,
"protoName": "client_deprecated",
"options": {
"default": -1
}
Expand All @@ -7682,6 +7701,13 @@
"passthrough": {
"type": "int32",
"id": 7
},
"entity": {
"type": "int32",
"id": 8,
"options": {
"default": -1
}
}
}
},
Expand Down Expand Up @@ -7875,6 +7901,11 @@
"type": "int32",
"id": 5,
"protoName": "client_tick"
},
"deltaData": {
"type": "bytes",
"id": 6,
"protoName": "delta_data"
}
}
},
Expand Down
68 changes: 7 additions & 61 deletions packages/dota2/proto/source/dota_shared_enums.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import public "events.proto";

enum DOTA_GameMode {
DOTA_GAMEMODE_NONE = 0;
DOTA_GAMEMODE_AP = 1;
Expand Down Expand Up @@ -63,67 +65,6 @@ enum DOTA_GC_TEAM {
DOTA_GC_TEAM_NEUTRALS = 14;
}

enum EEvent {
EVENT_ID_NONE = 0;
EVENT_ID_DIRETIDE = 1;
EVENT_ID_SPRING_FESTIVAL = 2;
EVENT_ID_FROSTIVUS_2013 = 3;
EVENT_ID_COMPENDIUM_2014 = 4;
EVENT_ID_NEXON_PC_BANG = 5;
EVENT_ID_PWRD_DAC_2015 = 6;
EVENT_ID_NEW_BLOOM_2015 = 7;
EVENT_ID_INTERNATIONAL_2015 = 8;
EVENT_ID_FALL_MAJOR_2015 = 9;
EVENT_ID_ORACLE_PA = 10;
EVENT_ID_NEW_BLOOM_2015_PREBEAST = 11;
EVENT_ID_FROSTIVUS = 12;
EVENT_ID_WINTER_MAJOR_2016 = 13;
EVENT_ID_INTERNATIONAL_2016 = 14;
EVENT_ID_FALL_MAJOR_2016 = 15;
EVENT_ID_WINTER_MAJOR_2017 = 16;
EVENT_ID_NEW_BLOOM_2017 = 17;
EVENT_ID_INTERNATIONAL_2017 = 18;
EVENT_ID_PLUS_SUBSCRIPTION = 19;
EVENT_ID_SINGLES_DAY_2017 = 20;
EVENT_ID_FROSTIVUS_2017 = 21;
EVENT_ID_INTERNATIONAL_2018 = 22;
EVENT_ID_FROSTIVUS_2018 = 23;
EVENT_ID_NEW_BLOOM_2019 = 24;
EVENT_ID_INTERNATIONAL_2019 = 25;
EVENT_ID_NEW_PLAYER_EXPERIENCE = 26;
EVENT_ID_FROSTIVUS_2019 = 27;
EVENT_ID_NEW_BLOOM_2020 = 28;
EVENT_ID_INTERNATIONAL_2020 = 29;
EVENT_ID_TEAM_FANDOM = 30;
EVENT_ID_DIRETIDE_2020 = 31;
EVENT_ID_SPRING_2021 = 32;
EVENT_ID_FALL_2021 = 33;
EVENT_ID_TEAM_FANDOM_FALL_2021 = 34;
EVENT_ID_TEAM_2021_2022_TOUR2 = 35;
EVENT_ID_INTERNATIONAL_2022 = 36;
EVENT_ID_TEAM_2021_2022_TOUR3 = 37;
EVENT_ID_TEAM_INTERNATIONAL_2022 = 38;
EVENT_ID_PERMANENT_GRANTS = 39;
EVENT_ID_MUERTA_RELEASE_SPRING2023 = 40;
EVENT_ID_TEAM_2023_TOUR1 = 41;
EVENT_ID_TEAM_2023_TOUR2 = 42;
EVENT_ID_TEAM_2023_TOUR3 = 43;
EVENT_ID_INTERNATIONAL_2023 = 45;
EVENT_ID_10TH_ANNIVERSARY = 46;
EVENT_ID_CROWNFALL = 47;
EVENT_ID_FROSTIVUS_2023 = 48;
EVENT_ID_INTERNATIONAL_2024 = 49;
EVENT_ID_FROSTIVUS_2024 = 50;
EVENT_ID_MONSTER_HUNTER = 51;
EVENT_ID_INTERNATIONAL_2025 = 52;
EVENT_ID_FALL_2025 = 53;
EVENT_ID_WINTER_2025 = 55;
EVENT_ID_SPRING_2026 = 56;
EVENT_ID_SUMMER_2026 = 57;
EVENT_ID_FALL_2026 = 58;
EVENT_ID_WINTER_2026 = 59;
}

enum ERankType {
k_ERankType_Invalid = 0;
k_ERankType_Casual = 1;
Expand Down Expand Up @@ -520,6 +461,11 @@ enum EBadgeType {
k_EBadgeType_TI14_FinalsDay3 = 24;
k_EBadgeType_TI14_FinalsDay4 = 25;
k_EBadgeType_TI14_Special = 26;
k_EBadgeType_TI15_FinalsDay1 = 27;
k_EBadgeType_TI15_FinalsDay2 = 28;
k_EBadgeType_TI15_FinalsDay3 = 29;
k_EBadgeType_TI15_FinalsDay4 = 30;
k_EBadgeType_TI15_Special = 31;
}

enum ELeagueStatus {
Expand Down
1 change: 1 addition & 0 deletions packages/dota2/proto/source/dota_usermessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ enum DOTA_CHAT_MESSAGE {
CHAT_MESSAGE_ROSHAN_ROAR = 123;
CHAT_MESSAGE_STONE_OF_RECALL_USED = 124;
CHAT_MESSAGE_DEITY_BLESSING = 125;
CHAT_MESSAGE_SMOKE_ACTIVATED = 126;
}

enum DOTA_NO_BATTLE_POINTS_REASONS {
Expand Down
62 changes: 62 additions & 0 deletions packages/dota2/proto/source/events.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
enum EEvent {
EVENT_ID_NONE = 0;
EVENT_ID_DIRETIDE = 1;
EVENT_ID_SPRING_FESTIVAL = 2;
EVENT_ID_FROSTIVUS_2013 = 3;
EVENT_ID_COMPENDIUM_2014 = 4;
EVENT_ID_NEXON_PC_BANG = 5;
EVENT_ID_PWRD_DAC_2015 = 6;
EVENT_ID_NEW_BLOOM_2015 = 7;
EVENT_ID_INTERNATIONAL_2015 = 8;
EVENT_ID_FALL_MAJOR_2015 = 9;
EVENT_ID_ORACLE_PA = 10;
EVENT_ID_NEW_BLOOM_2015_PREBEAST = 11;
EVENT_ID_FROSTIVUS = 12;
EVENT_ID_WINTER_MAJOR_2016 = 13;
EVENT_ID_INTERNATIONAL_2016 = 14;
EVENT_ID_FALL_MAJOR_2016 = 15;
EVENT_ID_WINTER_MAJOR_2017 = 16;
EVENT_ID_NEW_BLOOM_2017 = 17;
EVENT_ID_INTERNATIONAL_2017 = 18;
EVENT_ID_PLUS_SUBSCRIPTION = 19;
EVENT_ID_SINGLES_DAY_2017 = 20;
EVENT_ID_FROSTIVUS_2017 = 21;
EVENT_ID_INTERNATIONAL_2018 = 22;
EVENT_ID_FROSTIVUS_2018 = 23;
EVENT_ID_NEW_BLOOM_2019 = 24;
EVENT_ID_INTERNATIONAL_2019 = 25;
EVENT_ID_NEW_PLAYER_EXPERIENCE = 26;
EVENT_ID_FROSTIVUS_2019 = 27;
EVENT_ID_NEW_BLOOM_2020 = 28;
EVENT_ID_INTERNATIONAL_2020 = 29;
EVENT_ID_TEAM_FANDOM = 30;
EVENT_ID_DIRETIDE_2020 = 31;
EVENT_ID_SPRING_2021 = 32;
EVENT_ID_FALL_2021 = 33;
EVENT_ID_TEAM_FANDOM_FALL_2021 = 34;
EVENT_ID_TEAM_2021_2022_TOUR2 = 35;
EVENT_ID_INTERNATIONAL_2022 = 36;
EVENT_ID_TEAM_2021_2022_TOUR3 = 37;
EVENT_ID_TEAM_INTERNATIONAL_2022 = 38;
EVENT_ID_PERMANENT_GRANTS = 39;
EVENT_ID_MUERTA_RELEASE_SPRING2023 = 40;
EVENT_ID_TEAM_2023_TOUR1 = 41;
EVENT_ID_TEAM_2023_TOUR2 = 42;
EVENT_ID_TEAM_2023_TOUR3 = 43;
EVENT_ID_INTERNATIONAL_2023 = 45;
EVENT_ID_10TH_ANNIVERSARY = 46;
EVENT_ID_CROWNFALL = 47;
EVENT_ID_FROSTIVUS_2023 = 48;
EVENT_ID_INTERNATIONAL_2024 = 49;
EVENT_ID_FROSTIVUS_2024 = 50;
EVENT_ID_MONSTER_HUNTER = 51;
EVENT_ID_INTERNATIONAL_2025 = 52;
EVENT_ID_FALL_2025 = 53;
EVENT_ID_DARK_CARNIVAL = 54;
EVENT_ID_WINTER_2025 = 55;
EVENT_ID_SPRING_2026 = 56;
EVENT_ID_SUMMER_2026 = 57;
EVENT_ID_FALL_2026 = 58;
EVENT_ID_WINTER_2026 = 59;
EVENT_ID_INTERNATIONAL_2026 = 60;
}
1 change: 1 addition & 0 deletions packages/dota2/proto/source/gameevents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ message CMsgPlaceDecalEvent {
optional uint64 material_id = 11;
optional uint32 sequence_name = 12;
optional .CMsgVector position_objectspace = 14;
optional .CMsgVector normal_objectspace = 15;
}

message CMsgClearWorldDecalsEvent {
Expand Down
4 changes: 3 additions & 1 deletion packages/dota2/proto/source/netmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,13 @@ message CSVCMsg_UpdateStringTable {

message CSVCMsg_VoiceData {
optional .CMsgVoiceAudio audio = 1;
optional int32 client = 2 [default = -1];
optional int32 client_deprecated = 2 [default = -1];
optional bool proximity = 3;
optional fixed64 xuid = 4;
optional int32 audible_mask = 5;
optional uint32 tick = 6;
optional int32 passthrough = 7;
optional int32 entity = 8 [default = -1];
}

message CSVCMsg_PacketReliable {
Expand Down Expand Up @@ -641,6 +642,7 @@ message CMsgServerUserCmd {
optional int32 player_slot = 3 [default = -1];
optional int32 server_tick_executed = 4;
optional int32 client_tick = 5;
optional bytes delta_data = 6;
}

message CSVCMsg_UserCommands {
Expand Down
13 changes: 13 additions & 0 deletions packages/dota2/proto/source/networkbasetypes.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "valveextensions.proto";
import "google/protobuf/descriptor.proto";
import "network_connection.proto";

Expand Down Expand Up @@ -44,37 +45,49 @@ enum SpawnGroupFlags_t {
}

message CMsgVector {
option (codegen_delta_encoder) = true;

optional float x = 1;
optional float y = 2;
optional float z = 3;
optional float w = 4;
}

message CMsgVector2D {
option (codegen_delta_encoder) = true;

optional float x = 1;
optional float y = 2;
}

message CMsgQAngle {
option (codegen_delta_encoder) = true;

optional float x = 1;
optional float y = 2;
optional float z = 3;
}

message CMsgQuaternion {
option (codegen_delta_encoder) = true;

optional float x = 1;
optional float y = 2;
optional float z = 3;
optional float w = 4;
}

message CMsgTransform {
option (codegen_delta_encoder) = true;

optional .CMsgVector position = 1;
optional float scale = 2;
optional .CMsgQuaternion orientation = 3;
}

message CMsgRGBA {
option (codegen_delta_encoder) = true;

optional int32 r = 1;
optional int32 g = 2;
optional int32 b = 3;
Expand Down
12 changes: 12 additions & 0 deletions packages/dota2/proto/source/source2_steam_stats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ enum ESource2PlayStatsFieldType {
Source2PlayStats_UTCDateTime = 14;
Source2PlayStats_SteamIDTrustBucket = 15;
Source2PlayStats_SteamIDTrustBucketMin = 16;
Source2PlayStats_SteamID = 17;
}

message CMsgSource2SystemSpecs {
Expand Down Expand Up @@ -172,6 +173,7 @@ message CMsgSource2PlayStatsPackedRecordList {
repeated fixed32 utcdatetime_vals = 17 [packed = true];
repeated fixed64 steamidtrustbucket_vals = 18 [packed = true];
repeated .CMsgSource2PlayStatsPackedRecordList.SteamIDList trustbucket_vals = 19;
repeated uint64 steamid_vals = 20 [packed = true];
}

message CSource2Metrics_RecordPlayStats_Notification {
Expand All @@ -197,3 +199,13 @@ message CSource2Metrics_FetchMapData_Response {

repeated .CSource2Metrics_FetchMapData_Response.MapData results = 1;
}

message CUserMessage_UserSentBugBug {
optional string command_line = 1;
optional string autoexec_cfg = 2;
optional .CMsgSource2SystemSpecs system_specs = 3;
optional uint32 build_id = 4;
optional int32 osversion = 5;
optional string command_logs = 6;
optional int32 bugbug_no = 7;
}
Loading