1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-08 10:13:28 +08:00

Updated protos.

This commit is contained in:
Nicholas Hastings 2014-02-10 09:20:18 -05:00
parent bda8c1d418
commit 12bbcf4f25
6 changed files with 190 additions and 4 deletions

View File

@ -294,6 +294,7 @@ message CSVCMsg_ServerInfo
optional string map_name = 15; // name of current map
optional string sky_name = 16; // name of current skybox
optional string host_name = 17; // server name
optional string addon_name = 18;
}
message CSVCMsg_ClassInfo

View File

@ -87,7 +87,13 @@ enum EDotaClientMessages
DOTA_CM_ItemAlert = 15;
DOTA_CM_ChatWheel = 16;
DOTA_CM_SendStatPopup = 17;
DOTA_CM_BeginLastHitChallenge = 18;
DOTA_CM_BeginLastHitChallenge = 18;
DOTA_CM_UpdateQuickBuy = 19;
DOTA_CM_UpdateCoachListen = 20;
DOTA_CM_CoachHUDPing = 21;
DOTA_CM_RecordVote = 22;
DOTA_CM_UnitsAutoAttackAfterSpell = 23;
DOTA_CM_WillPurchaseAlert = 24;
}
//=============================================================================
@ -117,6 +123,11 @@ message CDOTAClientMsg_UnitsAutoAttack
optional bool enabled = 1;
}
message CDOTAClientMsg_UnitsAutoAttackAfterSpell
{
optional bool enabled = 1;
}
message CDOTAClientMsg_AutoPurchaseItems
{
optional bool enabled = 1;
@ -170,6 +181,7 @@ message CDOTAClientMsg_RequestGraphUpdate
message CDOTAClientMsg_ChatWheel
{
optional EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok];
optional uint32 param_hero_id = 2;
}
message CDOTAClientMsg_SendStatPopup
@ -183,3 +195,34 @@ message CDOTAClientMsg_BeginLastHitChallenge
optional bool helper_enabled = 2;
}
message CDOTAClientMsg_UpdateQuickBuyItem
{
optional int32 item_type = 1;
optional bool purchasable = 2;
}
message CDOTAClientMsg_UpdateQuickBuy
{
repeated CDOTAClientMsg_UpdateQuickBuyItem items = 1;
}
message CDOTAClientMsg_UpdateCoachListen
{
optional uint32 player_mask = 1;
}
message CDOTAClientMsg_CoachHUDPing
{
optional CDOTAMsg_CoachHUDPing hud_ping = 1;
}
message CDOTAClientMsg_RecordVote
{
optional int32 choice_index = 1;
}
message CDOTAClientMsg_WillPurchaseAlert
{
optional int32 itemid = 1;
}

View File

@ -137,6 +137,8 @@ enum EDOTAChatWheelMessage
k_EDOTA_CW_My_Bad = 68;
k_EDOTA_CW_Regret = 69;
k_EDOTA_CW_Relax = 70;
k_EDOTA_CW_MissingHero = 71;
k_EDOTA_CW_ReturnedHero = 72;
}
enum EDOTAStatPopupTypes
@ -185,6 +187,13 @@ message CDOTAMsg_SendStatPopup
repeated int32 stat_images = 3;
}
message CDOTAMsg_CoachHUDPing
{
optional uint32 x = 1;
optional uint32 y = 2;
optional string tgtpath = 3;
}
//=============================================================================

View File

@ -122,6 +122,17 @@ enum EDotaUserMessages
DOTA_UM_TutorialFinish = 111;
DOTA_UM_SendRoshanPopup = 112;
DOTA_UM_SendGenericToolTip = 113;
DOTA_UM_SendFinalGold = 114;
DOTA_UM_CustomMsg = 115;
DOTA_UM_CoachHUDPing = 116;
DOTA_UM_ClientLoadGridNav = 117;
DOTA_UM_AbilityPing = 118;
DOTA_UM_ShowGenericPopup = 119;
DOTA_UM_VoteStart = 120;
DOTA_UM_VoteUpdate = 121;
DOTA_UM_VoteEnd = 122;
DOTA_UM_BoosterState = 123;
DOTA_UM_WillPurchaseAlert = 124;
}
//=============================================================================
@ -197,6 +208,22 @@ enum DOTA_CHAT_MESSAGE
CHAT_MESSAGE_ROSHAN_CANDY = 54;
CHAT_MESSAGE_ITEM_GIFTED = 55;
CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL = 56;
CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED = 57;
CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED = 58;
CHAT_MESSAGE_HOLDOUT_WALL_FINISHED = 59;
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK = 60;
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK_EARLY = 61;
CHAT_MESSAGE_ABANDON_LIMITED_HERO = 62;
CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION = 63;
CHAT_MESSAGE_DISCONNECT_LIMITED_HERO = 64;
CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION = 65;
CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS = 66;
CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE = 67;
CHAT_MESSAGE_SAFE_TO_LEAVE_RANKED = 68;
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_RANKED = 69;
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY_RANKED = 70;
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK_RANKED = 71;
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK_EARLY_RANKED = 72;
}
enum DOTA_NO_BATTLE_POINTS_REASONS
@ -209,7 +236,10 @@ enum DOTA_NO_BATTLE_POINTS_REASONS
enum DOTA_CHAT_INFORMATIONAL
{
COOP_BATTLE_POINTS_RULES = 1;
INFO_COOP_BATTLE_POINTS_RULES = 1;
INFO_FROSTIVUS_ABANDON_REMINDER = 2;
INFO_RANKED_REMINDER = 3;
INFO_COOP_LOW_PRIORITY_PASSIVE_REMINDER = 4;
}
message CDOTAUserMsg_SwapVerify
@ -315,6 +345,12 @@ message CDOTAUserMsg_ItemAlert
optional CDOTAMsg_ItemAlert item_alert = 2;
}
message CDOTAUserMsg_WillPurchaseAlert
{
optional int32 itemid = 1;
optional int32 player_id = 2;
}
message CDOTAUserMsg_MinimapEvent
{
optional int32 event_type = 1;
@ -583,6 +619,7 @@ message CDOTAUserMsg_ParticleManager
optional int32 attach_type = 3;
optional int32 attachment = 4;
optional CMsgVector fallback_position = 5;
optional bool include_wearables = 6;
}
message UpdateParticleSetFrozen
{
@ -627,6 +664,9 @@ 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;
};
message CDOTAUserMsg_OverheadEvent
@ -678,6 +718,7 @@ message CDOTAUserMsg_ChatWheel
optional EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok];
optional uint32 player_id = 2;
optional uint32 account_id = 3;
optional uint32 param_hero_id = 4;
}
message CDOTAUserMsg_ReceivedXmasGift
@ -690,6 +731,8 @@ message CDOTAUserMsg_ReceivedXmasGift
message CDOTAUserMsg_ShowSurvey
{
optional int32 survey_id = 1;
optional uint32 match_id = 2;
optional string response_style = 3;
}
message CDOTAUserMsg_UpdateSharedContent
@ -724,8 +767,6 @@ message CDOTAUserMsg_AddQuestLogEntry
{
optional string npc_name = 1;
optional string npc_dialog = 2;
optional bool quest = 3;
optional int32 quest_type = 4;
}
message CDOTAUserMsg_SendStatPopup
@ -739,3 +780,82 @@ message CDOTAUserMsg_SendRoshanPopup
optional bool reclaimed = 1;
optional int32 gametime = 2;
}
message CDOTAUserMsg_SendFinalGold
{
repeated uint32 reliable_gold = 1;
repeated uint32 unreliable_gold = 2;
}
message CDOTAUserMsg_CustomMsg
{
optional string message = 1;
optional int32 player_id = 2;
optional int32 value = 3;
}
message CDOTAUserMsg_CoachHUDPing
{
optional uint32 player_id = 1;
optional .CDOTAMsg_CoachHUDPing hud_ping = 2;
}
message CDOTAUserMsg_ClientLoadGridNav
{
}
enum DOTA_ABILITY_PING_TYPE
{
ABILITY_PING_READY = 1;
ABILITY_PING_MANA = 2;
ABILITY_PING_COOLDOWN = 3;
}
message CDOTAUserMsg_AbilityPing
{
optional uint32 player_id = 1;
optional uint32 ability_id = 2;
optional DOTA_ABILITY_PING_TYPE type = 3 [default = ABILITY_PING_READY];
optional uint32 cooldown_seconds = 4;
}
message CDOTAUserMsg_ShowGenericPopup
{
required string header = 1;
required string body = 2;
optional string param1 = 3;
optional string param2 = 4;
optional bool tint_screen = 5;
optional bool show_no_other_dialogs = 6;
}
message CDOTAUserMsg_VoteStart
{
optional string title = 1;
optional float duration = 2;
optional int32 choice_count = 3;
repeated string choices = 4;
}
message CDOTAUserMsg_VoteUpdate
{
repeated int32 choice_counts = 1;
}
message CDOTAUserMsg_VoteEnd
{
optional int32 selected_choice = 1;
}
message CDOTAUserMsg_BoosterStatePlayer
{
optional uint32 player_id = 1;
optional float bonus = 2;
optional float event_bonus = 3;
}
message CDOTAUserMsg_BoosterState
{
repeated CDOTAUserMsg_BoosterStatePlayer boosted_players = 1;
}

View File

@ -695,6 +695,18 @@ enum Activity
ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP = 569;
ACT_DOTA_INTRO_LOOP = 570;
ACT_DOTA_BRIDGE_THREAT = 571;
ACT_DOTA_DAGON = 572;
ACT_DOTA_CAST_ABILITY_2_ES_ROLL_START = 573;
ACT_DOTA_CAST_ABILITY_2_ES_ROLL = 574;
ACT_DOTA_CAST_ABILITY_2_ES_ROLL_END = 575;
ACT_DOTA_NIAN_PIN_START = 576;
ACT_DOTA_NIAN_PIN_LOOP = 577;
ACT_DOTA_NIAN_PIN_END = 578;
ACT_DOTA_LEAP_STUN = 579;
ACT_DOTA_LEAP_SWIPE = 580;
ACT_DOTA_NIAN_INTRO_LEAP = 581;
ACT_DOTA_AREA_DENY = 582;
ACT_DOTA_NIAN_PIN_TO_STUN = 583;
};

View File

@ -114,6 +114,7 @@ message CUserMsg_CloseCaption
optional fixed32 hash = 1;
optional float duration = 2;
optional bool from_player = 3;
optional int32 ent_index = 4;
}
message CUserMsg_CurrentTimescale