mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
Sync protos
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
import "netmessages.proto";
|
||||
|
||||
message C2S_CONNECT_SameProcessCheck {
|
||||
optional uint64 localhost_process_id = 1;
|
||||
optional uint64 key = 2;
|
||||
}
|
||||
|
||||
message C2S_CONNECT_Message {
|
||||
optional uint32 host_version = 1;
|
||||
optional uint32 auth_protocol = 2;
|
||||
@ -10,8 +15,10 @@ message C2S_CONNECT_Message {
|
||||
repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7;
|
||||
optional bytes auth_steam = 8;
|
||||
optional string challenge_context = 9;
|
||||
optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10;
|
||||
}
|
||||
|
||||
message C2S_CONNECTION_Message {
|
||||
optional string addon_name = 1;
|
||||
optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2;
|
||||
}
|
||||
|
@ -272,6 +272,8 @@ message CMsgSource2NetworkFlowQuality {
|
||||
message CCLCMsg_Diagnostic {
|
||||
optional .CMsgSource2SystemSpecs system_specs = 1;
|
||||
optional .CMsgSource2VProfLiteReport vprof_report = 2;
|
||||
optional .CMsgSource2NetworkFlowQuality downstream_flow = 3;
|
||||
optional .CMsgSource2NetworkFlowQuality upstream_flow = 4;
|
||||
}
|
||||
|
||||
message CSource2Metrics_MatchPerfSummary_Notification {
|
||||
@ -279,6 +281,8 @@ message CSource2Metrics_MatchPerfSummary_Notification {
|
||||
optional .CMsgSource2SystemSpecs system_specs = 1;
|
||||
optional .CMsgSource2VProfLiteReport profile = 2;
|
||||
optional uint32 build_id = 3;
|
||||
optional .CMsgSource2NetworkFlowQuality downstream_flow = 4;
|
||||
optional .CMsgSource2NetworkFlowQuality upstream_flow = 5;
|
||||
optional fixed64 steamid = 10;
|
||||
}
|
||||
|
||||
@ -454,6 +458,11 @@ message CSVCMsg_PacketEntities {
|
||||
optional bytes data = 2;
|
||||
}
|
||||
|
||||
message outofpvs_entity_updates_t {
|
||||
optional int32 count = 1;
|
||||
optional bytes data = 2;
|
||||
}
|
||||
|
||||
optional int32 max_entries = 1;
|
||||
optional int32 updated_entries = 2;
|
||||
optional bool legacy_is_delta = 3;
|
||||
@ -474,6 +483,7 @@ message CSVCMsg_PacketEntities {
|
||||
optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
|
||||
optional uint32 cq_starved_command_ticks = 20;
|
||||
optional uint32 cq_discarded_command_ticks = 21;
|
||||
optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23;
|
||||
optional bytes dev_padding = 999;
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,7 @@ import "google/protobuf/descriptor.proto";
|
||||
extend .google.protobuf.EnumValueOptions {
|
||||
optional string network_connection_token = 50500;
|
||||
optional string network_connection_detail_token = 50501;
|
||||
optional bool allowed_from_client = 50502 [default = true];
|
||||
}
|
||||
|
||||
enum ENetworkDisconnectionReason {
|
||||
@ -19,7 +20,7 @@ enum ENetworkDisconnectionReason {
|
||||
NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC"];
|
||||
NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC", (allowed_from_client) = false];
|
||||
NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"];
|
||||
NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"];
|
||||
NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"];
|
||||
@ -125,6 +126,6 @@ enum ENetworkDisconnectionReason {
|
||||
NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160 [(network_connection_token) = "#Player_DisconnectReason_NoSteamLogin"];
|
||||
NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"];
|
||||
NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162 [(network_connection_token) = "#Player_DisconnectReason_InputAutomation", (network_connection_detail_token) = "#Player_DisconnectReason_InputAutomation_Detail"];
|
||||
NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163 [(network_connection_token) = "#Player_DisconnectReason_VacNetAbnormalBehavior"];
|
||||
NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163 [(network_connection_token) = "#Player_DisconnectReason_VacNetAbnormalBehavior", (allowed_from_client) = false];
|
||||
NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 [(network_connection_token) = "#Player_DisconnectReason_InsecureClient"];
|
||||
}
|
||||
|
@ -880,6 +880,7 @@ message CMsgDOTASeasonPredictions {
|
||||
repeated .ELeaguePhase phases = 18;
|
||||
optional .EEvent reward_event = 19 [default = EVENT_ID_NONE];
|
||||
optional uint32 league_node_id = 20;
|
||||
optional string reward_event_action = 21;
|
||||
}
|
||||
|
||||
repeated .CMsgDOTASeasonPredictions.Prediction predictions = 1;
|
||||
@ -1914,6 +1915,9 @@ message CDotaMsgStructuredTooltipProperties {
|
||||
kPureDamage = 8;
|
||||
kCooldown = 9;
|
||||
kDebuffPercentage = 10;
|
||||
kDebuffValue = 11;
|
||||
kBuffPercentage = 12;
|
||||
kBuffValue = 13;
|
||||
}
|
||||
|
||||
optional string ability_name_loc_token = 1;
|
||||
|
@ -277,6 +277,7 @@ message CDOTAMatchMetadata {
|
||||
optional bytes custom_post_game_table = 11;
|
||||
repeated .CDOTAMatchMetadata.Tip match_tips = 12;
|
||||
repeated .CMsgTrackedStat match_tracked_stats = 13;
|
||||
optional uint32 primary_event_id_for_display = 14;
|
||||
}
|
||||
|
||||
message CDOTAMatchPrivateMetadata {
|
||||
|
@ -113,6 +113,8 @@ enum EEvent {
|
||||
EVENT_ID_FROSTIVUS_2023 = 48;
|
||||
EVENT_ID_INTERNATIONAL_2024 = 49;
|
||||
EVENT_ID_FROSTIVUS_2024 = 50;
|
||||
EVENT_ID_INTERNATIONAL_2025 = 52;
|
||||
EVENT_ID_FALL_2025 = 53;
|
||||
}
|
||||
|
||||
enum ERankType {
|
||||
|
@ -363,6 +363,7 @@ enum DOTA_OVERHEAD_ALERT {
|
||||
OVERHEAD_ALERT_SHARD = 23;
|
||||
OVERHEAD_ALERT_DEADLY_BLOW = 24;
|
||||
OVERHEAD_ALERT_FORCE_MISS = 25;
|
||||
OVERHEAD_ALERT_AEGIS = 26;
|
||||
}
|
||||
|
||||
enum DOTA_ROSHAN_PHASE {
|
||||
|
@ -81,6 +81,7 @@ enum EGCItemMsg {
|
||||
k_EMsgGCToGCRefreshSOCache = 2549;
|
||||
k_EMsgGCToGCGrantAccountRolledItems = 2554;
|
||||
k_EMsgGCToGCGrantSelfMadeItemToAccount = 2555;
|
||||
k_EMsgGCToGCUnlockCrate = 2556;
|
||||
k_EMsgGCStatueCraft = 2561;
|
||||
k_EMsgGCRedeemCode = 2562;
|
||||
k_EMsgGCRedeemCodeResponse = 2563;
|
||||
@ -363,6 +364,12 @@ message CMsgGCToGCGrantSelfMadeItemToAccount {
|
||||
optional uint32 accountid = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCUnlockCrate {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint64 crate_item_id = 2;
|
||||
optional uint64 key_item_id = 3;
|
||||
}
|
||||
|
||||
message CMsgUseItem {
|
||||
optional uint64 item_id = 1;
|
||||
optional fixed64 target_steam_id = 2;
|
||||
|
@ -5,7 +5,7 @@ enum EBaseGameEvents {
|
||||
GE_PlaceDecalEvent = 201;
|
||||
GE_ClearWorldDecalsEvent = 202;
|
||||
GE_ClearEntityDecalsEvent = 203;
|
||||
GE_ClearDecalsForSkeletonInstanceEvent = 204;
|
||||
GE_ClearDecalsForEntityEvent = 204;
|
||||
GE_Source1LegacyGameEventList = 205;
|
||||
GE_Source1LegacyListenEvents = 206;
|
||||
GE_Source1LegacyGameEvent = 207;
|
||||
@ -25,17 +25,15 @@ message CMsgPlaceDecalEvent {
|
||||
optional .CMsgVector position = 1;
|
||||
optional .CMsgVector normal = 2;
|
||||
optional .CMsgVector saxis = 3;
|
||||
optional uint32 decalmaterialindex = 4;
|
||||
optional int32 boneindex = 4;
|
||||
optional uint32 flags = 5;
|
||||
optional fixed32 color = 6;
|
||||
optional float width = 7;
|
||||
optional float height = 8;
|
||||
optional float depth = 9;
|
||||
optional uint32 entityhandleindex = 10;
|
||||
optional fixed32 skeletoninstancehash = 11;
|
||||
optional int32 boneindex = 12;
|
||||
optional bool translucenthit = 13;
|
||||
optional bool is_adjacent = 14;
|
||||
optional int32 random_seed = 7;
|
||||
optional uint32 decal_group_name = 8;
|
||||
optional float size_override = 9;
|
||||
optional uint32 entityhandle = 10 [default = 16777215];
|
||||
optional uint64 material_id = 11;
|
||||
optional uint32 sequence_name = 12;
|
||||
}
|
||||
|
||||
message CMsgClearWorldDecalsEvent {
|
||||
@ -46,10 +44,9 @@ message CMsgClearEntityDecalsEvent {
|
||||
optional uint32 flagstoclear = 1;
|
||||
}
|
||||
|
||||
message CMsgClearDecalsForSkeletonInstanceEvent {
|
||||
message CMsgClearDecalsForEntityEvent {
|
||||
optional uint32 flagstoclear = 1;
|
||||
optional uint32 entityhandleindex = 2;
|
||||
optional uint32 skeletoninstancehash = 3;
|
||||
optional uint32 entityhandle = 2 [default = 16777215];
|
||||
}
|
||||
|
||||
message CMsgSource1LegacyGameEventList {
|
||||
|
@ -7,11 +7,8 @@ enum ETEProtobufIds {
|
||||
TE_BeamEntsId = 403;
|
||||
TE_BeamPointsId = 404;
|
||||
TE_BeamRingId = 405;
|
||||
TE_BSPDecalId = 407;
|
||||
TE_BubblesId = 408;
|
||||
TE_BubbleTrailId = 409;
|
||||
TE_DecalId = 410;
|
||||
TE_WorldDecalId = 411;
|
||||
TE_EnergySplashId = 412;
|
||||
TE_FizzId = 413;
|
||||
TE_ShatterSurfaceId = 414;
|
||||
@ -24,8 +21,6 @@ enum ETEProtobufIds {
|
||||
TE_LargeFunnelId = 421;
|
||||
TE_SparksId = 422;
|
||||
TE_PhysicsPropId = 423;
|
||||
TE_PlayerDecalId = 424;
|
||||
TE_ProjectedDecalId = 425;
|
||||
TE_SmokeId = 426;
|
||||
}
|
||||
|
||||
@ -75,14 +70,6 @@ message CMsgTEBeamRing {
|
||||
optional uint32 endentity = 3;
|
||||
}
|
||||
|
||||
message CMsgTEBSPDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgVector normal = 2;
|
||||
optional .CMsgVector saxis = 3;
|
||||
optional int32 entity = 4 [default = -1];
|
||||
optional uint32 index = 5;
|
||||
}
|
||||
|
||||
message CMsgTEBubbles {
|
||||
optional .CMsgVector mins = 1;
|
||||
optional .CMsgVector maxs = 2;
|
||||
@ -99,14 +86,6 @@ message CMsgTEBubbleTrail {
|
||||
optional float speed = 5;
|
||||
}
|
||||
|
||||
message CMsgTEDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgVector start = 2;
|
||||
optional int32 entity = 3 [default = -1];
|
||||
optional uint32 hitbox = 4;
|
||||
optional uint32 index = 5;
|
||||
}
|
||||
|
||||
message CMsgEffectData {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgVector start = 2;
|
||||
@ -234,26 +213,7 @@ message CMsgTEPhysicsProp {
|
||||
optional int32 dmgtype = 13;
|
||||
}
|
||||
|
||||
message CMsgTEPlayerDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional int32 player = 2 [default = -1];
|
||||
optional int32 entity = 3 [default = -1];
|
||||
}
|
||||
|
||||
message CMsgTEProjectedDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgQAngle angles = 2;
|
||||
optional uint32 index = 3;
|
||||
optional float distance = 4;
|
||||
}
|
||||
|
||||
message CMsgTESmoke {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional float scale = 2;
|
||||
}
|
||||
|
||||
message CMsgTEWorldDecal {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgVector normal = 2;
|
||||
optional uint32 index = 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user