1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Update protos

This commit is contained in:
Nicholas Hastings
2025-08-04 20:41:14 -04:00
parent 9bada9018f
commit c6898c4746
8 changed files with 242 additions and 58 deletions

View File

@ -116,6 +116,13 @@ enum EDotaClientMessages {
DOTA_CM_ChooseCraftedNeutral = 817;
DOTA_CM_TimerAlert = 818;
DOTA_CM_MadstoneAlert = 819;
DOTA_CM_UpdateAutoCourierSettings = 820;
DOTA_CM_AutoCourierExecute = 821;
DOTA_CM_QuickBuyAction = 822;
DOTA_CM_InteractionChannelsRequireHalt = 823;
DOTA_CM_SuggestItemRefresh = 824;
DOTA_CM_SuggestItemVariantRequest = 825;
DOTA_CM_SuggestItemVariantSelect = 826;
}
message CDOTAClientMsg_MapPing {
@ -202,6 +209,10 @@ message CDOTAClientMsg_ChannelRequiresHalt {
optional bool enabled = 1;
}
message CDOTAClientMsg_InteractionChannelsRequireHalt {
optional bool enabled = 1;
}
message CDOTAClientMsg_SearchString {
optional string search = 1;
}
@ -256,10 +267,37 @@ message CDOTAClientMsg_BeginLastHitChallenge {
message CDOTAClientMsg_UpdateQuickBuyItem {
optional int32 item_ability_id = 1 [default = -1];
optional bool purchasable = 2 [default = false];
optional int32 top_level_item_ability_id = 3 [default = -1];
}
message CDOTAClientMsg_UpdateQuickBuy {
repeated .CDOTAClientMsg_UpdateQuickBuyItem items = 1;
repeated int32 goal_item_ability_ids = 2;
}
message CDOTAClientMsg_QuickBuyAction {
enum EActionType {
INVALID = -1;
PURCHASE = 0;
QUEUE = 1;
REMOVE = 2;
CLEAR = 3;
CLEAR_AND_QUEUE = 4;
MARK_FOR_BUY = 5;
CLEAR_MARK_FOR_BUY = 6;
ENABLE_BUYBACK_PROTECTION = 7;
DISABLE_BUYBACK_PROTECTION = 8;
QUEUE_FIRST_AND_MARK_FOR_BUY = 9;
CHANGE_SLOT = 10;
}
optional .CDOTAClientMsg_QuickBuyAction.EActionType action = 1 [default = INVALID];
optional int32 item_ability_id = 2 [default = -1];
optional int32 slot_index = 3;
optional int32 purchaser_entindex = 4 [default = -1];
optional int32 new_slot_index = 5;
optional bool top_level_item = 6;
repeated int32 old_slot_ability_ids = 7;
}
message CDOTAClientMsg_RecordVote {
@ -311,11 +349,16 @@ message CDOTAClientMsg_EventCNY2015Cmd {
}
message CDOTAClientMsg_DemoHero {
message PreviewItem {
optional uint32 item_def = 1;
optional uint32 item_style = 2 [default = 255];
}
optional int32 hero_id = 1;
optional int32 hero_id_to_spawn = 2;
repeated uint32 item_defs = 3;
repeated .CDOTAClientMsg_DemoHero.PreviewItem preview_items = 3;
repeated uint64 item_ids = 4;
optional uint32 style_index = 5 [default = 255];
optional uint32 style_index_override = 5 [default = 255];
optional bool keep_existing_demohero = 6;
repeated .CSOEconItem item_data = 7;
optional int32 hero_variant = 8;
@ -436,6 +479,18 @@ message CDOTAClientMsg_SuggestItemPreference {
repeated .CDOTAClientMsg_SuggestItemPreference.ItemPreference item_preferences = 1;
}
message CDOTAClientMsg_SuggestItemRefresh {
optional bool is_out_of_items = 1;
}
message CDOTAClientMsg_SuggestItemGetVariants {
optional bool is_out_of_items = 1;
}
message CDOTAClientMsg_SuggestItemSelectVariant {
optional uint32 variant = 1;
}
message CDOTAClientMsg_MakeTeamCaptain {
optional int32 player_id = 1 [default = -1];
}
@ -455,6 +510,7 @@ message CDOTAClientMsg_AbilityDraftRequestAbility {
optional int32 requested_ability_id = 1 [default = -1];
optional bool ctrl_is_down = 2;
optional int32 requested_hero_id = 3;
optional uint64 requested_facet_key = 4;
}
message CDOTAClientMsg_GuideSelectOption {
@ -659,3 +715,12 @@ message CDOTAClientMsg_TimerAlert {
message CDOTAClientMsg_MadstoneAlert {
optional int32 target_entindex = 1 [default = -1];
}
message CDOTAClientMsg_UpdateAutoCourierSettings {
optional bool auto_deliver = 1;
}
message CDOTAClientMsg_AutoCourierExecute {
optional int32 target_entindex = 1 [default = -1];
optional bool is_auto_deliver = 2;
}

View File

@ -68,6 +68,12 @@ enum EDOTAVersusScenePlayerBehavior {
VS_PLAYER_BEHAVIOR_PLAYBACK_RATE = 3;
}
message CDOTAMsg_PingWaypointPath {
optional int32 x = 1;
optional int32 y = 2;
optional bytes grid_nav_directions = 3;
}
message CDOTAMsg_LocationPing {
optional int32 x = 1;
optional int32 y = 2;
@ -75,6 +81,7 @@ message CDOTAMsg_LocationPing {
optional bool direct_ping = 4;
optional uint32 type = 5 [default = 4294967295];
optional .EPingSource ping_source = 6 [default = k_ePingSource_Default];
optional .CDOTAMsg_PingWaypointPath waypoint_path = 7;
}
message CDOTAMsg_ItemAlert {

View File

@ -1122,12 +1122,12 @@ message CMsgDOTAFantasyPlayerStats {
optional uint32 first_blood = 20;
optional float stuns = 21;
optional uint32 smokes = 22;
optional uint32 neutral_tokens = 23;
optional uint32 watchers = 24;
optional uint32 lotuses = 25;
optional uint32 tormentors = 26;
optional uint32 courier_kills = 27;
optional fixed64 title_stats = 28;
optional uint32 madstone = 29;
}
message CMsgDOTAFantasyPlayerMatchStats {
@ -1252,6 +1252,7 @@ message CMsgDOTAMatchMinimal {
optional uint32 radiant_score = 9;
optional uint32 dire_score = 10;
optional uint32 lobby_type = 11;
optional bool is_player_draft = 12;
}
message CMsgConsumableUsage {
@ -1523,6 +1524,7 @@ message CMsgGameDataHero {
optional string name = 4;
optional string icon = 5;
optional int32 gradient_id = 6;
optional uint32 index = 7;
}
optional int32 id = 1;
@ -1816,3 +1818,113 @@ message CDotaMsg_PredictionResult {
optional bool correct = 3;
repeated .CDotaMsg_PredictionResult.Prediction predictions = 4;
}
message CDotaMsgStructuredTooltipProperties {
message AttributeValueValue {
optional float value = 1;
optional bool is_active_value = 2;
}
message AttributeValue_Single {
optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue single_value = 1;
}
message AttributeValue_Variable {
repeated .CDotaMsgStructuredTooltipProperties.AttributeValueValue values = 1;
}
message AttributeValue_Delta {
optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue prev = 1;
optional .CDotaMsgStructuredTooltipProperties.AttributeValueValue next = 2;
}
message AttributeValue {
oneof attr_value {
.CDotaMsgStructuredTooltipProperties.AttributeValue_Single single = 1;
.CDotaMsgStructuredTooltipProperties.AttributeValue_Variable variable = 2;
.CDotaMsgStructuredTooltipProperties.AttributeValue_Delta delta = 3;
}
}
message FacetDisplayProperties {
optional string facet_name_loc_token = 1;
optional string facet_desc_loc_token = 2;
optional string facet_icon_style_name = 3;
optional string facet_color_style_name = 4;
optional string facet_gradient_style_name = 5;
}
message Attribute {
optional string name_loc_token = 1;
optional .CDotaMsgStructuredTooltipProperties.EAttributeType type = 2 [default = kUnknown];
optional .CDotaMsgStructuredTooltipProperties.AttributeValue value = 3;
optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties facet = 4;
}
message AttributeGroupDesc_Basic {
}
message AttributeGroupDesc_Specific {
optional string title_loc_token = 1;
optional string desc_loc_token = 2;
}
message AttributeGroupDesc_Facet {
optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties facet = 1;
}
message AttributeGroupDescription {
oneof attr_group_desc {
.CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Basic basic = 1;
.CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Specific specific = 2;
.CDotaMsgStructuredTooltipProperties.AttributeGroupDesc_Facet facet = 3;
}
}
message AttributeGroup {
optional .CDotaMsgStructuredTooltipProperties.AttributeGroupDescription desc = 1;
repeated .CDotaMsgStructuredTooltipProperties.Attribute attributes = 2;
}
message ContentChunk_AttributeGroup {
repeated .CDotaMsgStructuredTooltipProperties.AttributeGroup groups = 1;
}
message TooltipContentChunk {
oneof content_chunk {
.CDotaMsgStructuredTooltipProperties.ContentChunk_AttributeGroup attribute_group = 1;
}
}
message SummaryDescriptionEmbedValue {
optional string name = 1;
optional .CDotaMsgStructuredTooltipProperties.EAttributeType type = 2 [default = kUnknown];
optional .CDotaMsgStructuredTooltipProperties.AttributeValue value = 3;
}
enum EAttributeType {
kUnknown = 0;
kDuration = 1;
kManaCost = 2;
kHealthCost = 3;
kCastRange = 4;
kAreaOfEffectRadius = 5;
kPhysicalDamage = 6;
kMagicalDamage = 7;
kPureDamage = 8;
kCooldown = 9;
kDebuffPercentage = 10;
}
optional string ability_name_loc_token = 1;
optional string ability_category_loc_token = 2;
optional int32 ability_level = 3;
optional int32 current_mana_cost = 4;
optional int32 current_health_cost = 5;
optional float current_cooldown = 6;
optional string summary_description_loc_token = 7;
optional string summary_description_level_up_loc_token = 8;
repeated .CDotaMsgStructuredTooltipProperties.SummaryDescriptionEmbedValue summary_description_embed_values = 9;
optional .CDotaMsgStructuredTooltipProperties.FacetDisplayProperties summary_description_facet = 10;
repeated .CDotaMsgStructuredTooltipProperties.TooltipContentChunk chunks = 20;
}

View File

@ -131,7 +131,6 @@ message CMsgGameServerInfo {
optional uint32 build_version = 24;
optional uint32 srcds_instance = 26;
optional bool dev_force_server_type = 28;
optional bool is_recording_match_training_data = 29;
}
message CMsgLeaverDetected {
@ -349,7 +348,6 @@ message CMsgGameMatchSignOut {
repeated .CMsgGameMatchSignOut.WardPlacement ward_placements = 43;
optional .CMsgSignOutGameplayStats gameplay_stats = 44;
repeated .CExtraMsgBlock extra_messages = 54;
optional bool training_data_recorded = 55;
optional .DOTA_GC_TEAM winning_team = 56 [default = DOTA_GC_TEAM_GOOD_GUYS];
optional float normalized_win_probability_diff = 57;
repeated .CMsgTrackedStat match_tracked_stats = 58;
@ -1184,10 +1182,6 @@ message CMsgSignOutMVPStats {
repeated .CMsgSignOutMVPStats.Player players = 5;
}
message CMsgGCToServerRecordTrainingData {
optional bool enable = 1;
}
message CMsgServerToGCGetGuildContracts {
repeated uint32 account_ids = 1;
}
@ -1350,15 +1344,14 @@ message CMsgSteamLearnMatchHeroesV3 {
repeated uint32 dire_positions = 8 [(steamlearn_count) = 5];
}
message CMsgSteamLearnMatchHeroV3 {
message CMsgSteamLearnMatchHeroV6 {
optional int32 hero_id = 1;
optional uint32 lane = 2;
optional uint32 position = 8;
repeated int32 allied_hero_ids = 3 [(steamlearn_count) = 4];
repeated int32 enemy_hero_ids = 4 [(steamlearn_count) = 5];
optional uint32 hero_facet = 5;
repeated uint32 allied_hero_facets = 6 [(steamlearn_count) = 4];
repeated uint32 enemy_herofacets = 7 [(steamlearn_count) = 5];
optional uint32 facet = 2;
optional uint32 hero_and_facet = 3;
optional uint32 lane = 4;
optional uint32 position = 5;
repeated uint32 allied_hero_and_facet = 6 [(steamlearn_count) = 4];
repeated uint32 enemy_hero_and_facet = 7 [(steamlearn_count) = 5];
}
message CMsgSteamLearnPlayerTimedStats {
@ -1412,15 +1405,9 @@ message CMsgSteamLearnMatchStateV5 {
optional .CMsgSteamLearnMatchStateV5.TeamState dire_state = 3;
}
message CMsgSteamLearnItemPurchase {
message CMsgSteamLearnItemPurchaseV7 {
optional int32 item_id = 1 [default = -1];
repeated int32 inventory_items = 2 [(steamlearn_count) = 20];
repeated int32 purchase_history = 3 [(steamlearn_count) = 20];
optional uint32 gold = 4;
optional uint32 net_worth = 5;
optional uint32 is_radiant_team = 6;
optional float game_time = 7;
optional bool is_using_dota_plus = 8;
repeated int32 purchase_history = 2 [(steamlearn_count) = 50];
}
message CMsgSteamLearnPreGameItemPurchases {
@ -1429,18 +1416,17 @@ message CMsgSteamLearnPreGameItemPurchases {
optional bool is_using_dota_plus = 3;
}
message CMsgSteamLearnNeutralItemPurchase {
optional int32 item_id = 1 [default = -1];
optional uint32 tier = 2;
optional uint32 is_radiant_team = 3;
optional bool is_using_dota_plus = 4;
message CMsgSteamLearnPreGameItemPurchase {
repeated int32 purchase_history = 1 [(steamlearn_count) = 10];
optional int32 item_id = 2 [default = -1, (steamlearn_count) = 10];
}
message CMsgSteamLearnNeutralItemPurchaseV2 {
message CMsgSteamLearnNeutralItemPurchaseV4 {
optional uint32 tier = 1;
optional int32 trinket_id = 2 [default = -1];
optional int32 enhancement_id = 3 [default = -1];
optional int32 previous_trinket_id = 4 [default = -1];
repeated int32 trinket_options = 2 [(steamlearn_count) = 4];
repeated int32 enhancement_options = 3 [(steamlearn_count) = 4];
optional int32 trinket_id = 4 [default = -1];
optional int32 enhancement_id = 5 [default = -1];
}
message CMsgSteamLearnAbilitySkill {
@ -1450,20 +1436,6 @@ message CMsgSteamLearnAbilitySkill {
optional bool is_using_dota_plus = 4;
}
message CMsgSteamLearnEarlyGameItemPurchasesV2 {
repeated int32 item_ids = 1 [(steamlearn_count) = 10];
repeated int32 other_item_ids = 2 [(steamlearn_count) = 30];
}
message CMsgSteamLearnLateGameItemPurchasesV2 {
repeated int32 item_ids = 1 [(steamlearn_count) = 10];
repeated int32 other_item_ids = 2 [(steamlearn_count) = 30];
}
message CMsgSteamLearnMainGameItemPurchases {
repeated int32 item_ids = 1 [(steamlearn_count) = 10];
}
message CMsgSteamLearnWardPlacement {
message Location {
optional float x = 1;

View File

@ -7,6 +7,11 @@ import "dota_gcmessages_common.proto";
import "dota_shared_enums.proto";
import "gcsdk_gcmessages.proto";
enum EPlayerInventorySnapshotFlags {
EPlayerInventorySnapshotFlags_HasScepter = 1;
EPlayerInventorySnapshotFlags_HasShard = 2;
}
message CDOTAMatchMetadataFile {
required int32 version = 1;
required uint64 match_id = 2;
@ -44,6 +49,9 @@ message CDOTAMatchMetadata {
repeated int32 backpack_item_id = 7;
optional int32 neutral_item_id = 8 [default = -1];
optional int32 neutral_enhancement_id = 9 [default = -1];
optional uint32 last_hits = 10;
optional uint32 denies = 11;
optional uint32 flags = 12;
}
message AutoStyleCriteria {
@ -133,6 +141,22 @@ message CDOTAMatchMetadata {
optional uint32 max_value = 3;
}
message KillInfo {
enum KillType {
KILL_TYPE_PLAYER = 0;
KILL_TYPE_TOWER = 1;
KILL_TYPE_BARRACKS = 2;
KILL_TYPE_ROSHAN = 3;
KILL_TYPE_MINIBOSS = 4;
}
optional .CDOTAMatchMetadata.Team.KillInfo.KillType kill_type = 1 [default = KILL_TYPE_PLAYER];
optional uint32 victim_player_slot = 2;
repeated uint32 killer_player_slot = 3;
optional int32 time = 4;
optional int32 bounty = 5;
}
message Player {
message ContractProgress {
optional uint32 guild_id = 1;
@ -204,6 +228,7 @@ message CDOTAMatchMetadata {
repeated .CMsgTrackedStat player_tracked_stats = 58;
optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
repeated .CMsgCraftworksQuestReward craftworks_quest_rewards = 60;
optional int32 ad_facet_hero_id = 61;
}
optional uint32 dota_team = 1;
@ -215,6 +240,7 @@ message CDOTAMatchMetadata {
optional int32 cm_captain_player_id = 7 [default = -1];
optional uint32 cm_penalty = 10;
repeated .CMsgTrackedStat team_tracked_stats = 11;
repeated .CDOTAMatchMetadata.Team.KillInfo kills = 12;
}
message GuildChallengeProgress {

View File

@ -174,7 +174,7 @@ enum Fantasy_Scoring {
FANTASY_SCORING_FIRST_BLOOD = 10;
FANTASY_SCORING_STUNS = 11;
FANTASY_SCORING_SMOKES_USED = 12;
FANTASY_SCORING_NEUTRAL_TOKENS_FOUND = 13;
FANTASY_SCORING_MADSTONE = 13;
FANTASY_SCORING_WATCHERS_TAKEN = 14;
FANTASY_SCORING_LOTUSES_GAINED = 15;
FANTASY_SCORING_TORMENTOR_KILLS = 16;

View File

@ -123,7 +123,6 @@ enum EDotaUserMessages {
DOTA_UM_HighFiveLeftHanging = 583;
DOTA_UM_HighFiveCompleted = 584;
DOTA_UM_ShovelUnearth = 585;
DOTA_EM_InvokerSpellCast = 586;
DOTA_UM_RadarAlert = 587;
DOTA_UM_AllStarEvent = 588;
DOTA_UM_TalentTreeAlert = 589;
@ -166,6 +165,7 @@ enum EDotaUserMessages {
DOTA_UM_NeutralCraftAvailable = 627;
DOTA_UM_TimerAlert = 628;
DOTA_UM_MadstoneAlert = 629;
DOTA_UM_CourierLeftFountainAlert = 630;
}
enum DOTA_CHAT_MESSAGE {
@ -283,6 +283,7 @@ enum DOTA_CHAT_MESSAGE {
CHAT_MESSAGE_ALCHEMIST_GRANTED_SCEPTER = 120;
CHAT_MESSAGE_PROTECTOR_SPAWNED = 121;
CHAT_MESSAGE_CRAFTING_XP = 122;
CHAT_MESSAGE_ROSHAN_ROAR = 123;
}
enum DOTA_NO_BATTLE_POINTS_REASONS {
@ -352,9 +353,6 @@ enum DOTA_OVERHEAD_ALERT {
OVERHEAD_ALERT_HEAL = 10;
OVERHEAD_ALERT_MANA_ADD = 11;
OVERHEAD_ALERT_MANA_LOSS = 12;
OVERHEAD_ALERT_LAST_HIT_EARLY = 13;
OVERHEAD_ALERT_LAST_HIT_CLOSE = 14;
OVERHEAD_ALERT_LAST_HIT_MISS = 15;
OVERHEAD_ALERT_MAGICAL_BLOCK = 16;
OVERHEAD_ALERT_INCOMING_DAMAGE = 17;
OVERHEAD_ALERT_OUTGOING_DAMAGE = 18;
@ -478,6 +476,7 @@ message CDOTAUserMsg_ChatEvent {
optional sint32 playerid_6 = 8 [default = -1];
optional uint32 value2 = 9;
optional uint32 value3 = 10;
optional float time = 11;
}
message CDOTAUserMsg_BotChat {
@ -626,11 +625,6 @@ message CDOTAUserMsg_MarsArenaOfBloodAttack {
optional int32 warrior_index = 3;
}
message CDOTAEntityMsg_InvokerSpellCast {
optional .CEntityMsg entity_msg = 1;
optional int32 cast_activity = 2;
}
message CDOTAUserMsg_BuyBackStateAlert {
optional int32 player_id = 1 [default = -1];
}
@ -758,6 +752,10 @@ message CDOTAUserMsg_HalloweenDrops {
optional uint32 prize_list = 3;
}
message CDOTAUserMsg_CourierLeftFountainAlert {
optional int32 owning_player_id = 1 [default = -1];
}
message CDOTAResponseQuerySerialized {
message Fact {
enum ValueType {
@ -841,6 +839,7 @@ message CDOTAUserMsg_UnitEvent {
message CDOTAUserMsg_ItemPurchased {
optional int32 item_ability_id = 1 [default = -1];
optional bool from_combine = 2;
}
message CDOTAUserMsg_ItemSold {
@ -1371,6 +1370,7 @@ message CDOTAUserMsg_AbilityDraftRequestAbility {
optional int32 requested_ability_id = 2 [default = -1];
optional bool ctrl_is_down = 3;
optional int32 requested_hero_id = 4;
optional uint64 requested_facet_key = 5;
}
message CDOTAUserMsg_DamageReport {
@ -1478,6 +1478,7 @@ message CDOTAUserMsg_FoundNeutralItem {
optional uint32 tier_item_count = 4;
optional int32 enhancement_ability_id = 5 [default = -1];
optional int32 enhancement_level = 6;
optional int32 trinket_level = 7;
}
message CDOTAUserMsg_OutpostCaptured {

View File

@ -19,6 +19,7 @@ message CSubtickMoveStep {
message CBaseUserCmdPB {
optional int32 legacy_command_number = 1;
optional int32 client_tick = 2;
optional uint32 prediction_offset_ticks_x256 = 17;
optional .CInButtonStatePB buttons_pb = 3;
optional .CMsgQAngle viewangles = 4;
optional float forwardmove = 5;