mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Update protobufs (#250)
This commit is contained in:
@ -356,14 +356,6 @@ message CSVCMsg_GameEventList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message CSVCMsg_PacketEntities {
|
message CSVCMsg_PacketEntities {
|
||||||
message command_queue_info_t {
|
|
||||||
optional uint32 commands_queued = 1;
|
|
||||||
optional uint32 command_queue_desired_size = 2;
|
|
||||||
optional uint32 starved_command_ticks = 3;
|
|
||||||
optional float time_dilation_percent = 4;
|
|
||||||
optional uint32 discarded_command_ticks = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message alternate_baseline_t {
|
message alternate_baseline_t {
|
||||||
optional int32 entity_index = 1;
|
optional int32 entity_index = 1;
|
||||||
optional int32 baseline_index = 2;
|
optional int32 baseline_index = 2;
|
||||||
@ -388,11 +380,12 @@ message CSVCMsg_PacketEntities {
|
|||||||
optional sint32 last_cmd_number_recv_delta = 17;
|
optional sint32 last_cmd_number_recv_delta = 17;
|
||||||
optional uint32 server_tick = 12;
|
optional uint32 server_tick = 12;
|
||||||
optional bytes serialized_entities = 13;
|
optional bytes serialized_entities = 13;
|
||||||
optional .CSVCMsg_PacketEntities.command_queue_info_t command_queue_info = 14;
|
|
||||||
repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
|
repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
|
||||||
optional uint32 has_pvs_vis_bits = 16;
|
optional uint32 has_pvs_vis_bits = 16;
|
||||||
optional uint32 last_cmd_recv_margin = 18;
|
optional uint32 last_cmd_recv_margin = 18;
|
||||||
optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
|
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 bytes dev_padding = 999;
|
optional bytes dev_padding = 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ enum SignonState_t {
|
|||||||
|
|
||||||
enum NET_Messages {
|
enum NET_Messages {
|
||||||
net_NOP = 0;
|
net_NOP = 0;
|
||||||
net_Disconnect = 1;
|
net_Disconnect_Legacy = 1;
|
||||||
net_SplitScreenUser = 3;
|
net_SplitScreenUser = 3;
|
||||||
net_Tick = 4;
|
net_Tick = 4;
|
||||||
net_StringCmd = 5;
|
net_StringCmd = 5;
|
||||||
@ -105,7 +105,7 @@ message CNETMsg_SplitScreenUser {
|
|||||||
optional int32 slot = 1;
|
optional int32 slot = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CNETMsg_Disconnect {
|
message CNETMsg_Disconnect_Legacy {
|
||||||
optional .ENetworkDisconnectionReason reason = 2 [default = NETWORK_DISCONNECT_INVALID];
|
optional .ENetworkDisconnectionReason reason = 2 [default = NETWORK_DISCONNECT_INVALID];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ enum EBaseClientMessages {
|
|||||||
CM_DevPaletteVisibilityChanged = 283;
|
CM_DevPaletteVisibilityChanged = 283;
|
||||||
CM_WorldUIControllerHasPanelChanged = 284;
|
CM_WorldUIControllerHasPanelChanged = 284;
|
||||||
CM_RotateAnchor = 285;
|
CM_RotateAnchor = 285;
|
||||||
|
CM_ListenForResponseFound = 286;
|
||||||
CM_MAX_BASE = 300;
|
CM_MAX_BASE = 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,3 +47,7 @@ message CClientMsg_WorldUIControllerHasPanelChangedEvent {
|
|||||||
message CClientMsg_RotateAnchor {
|
message CClientMsg_RotateAnchor {
|
||||||
optional float angle = 1;
|
optional float angle = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message CClientMsg_ListenForResponseFound {
|
||||||
|
optional int32 player_slot = 1 [default = -1];
|
||||||
|
}
|
||||||
|
@ -898,6 +898,7 @@ message CEconItemPreviewDataBlock {
|
|||||||
optional uint32 dropreason = 16;
|
optional uint32 dropreason = 16;
|
||||||
optional uint32 musicindex = 17;
|
optional uint32 musicindex = 17;
|
||||||
optional int32 entindex = 18;
|
optional int32 entindex = 18;
|
||||||
|
optional uint32 petindex = 19;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CMsgGCCStrike15_v2_MatchEndRewardDropsNotification {
|
message CMsgGCCStrike15_v2_MatchEndRewardDropsNotification {
|
||||||
|
@ -146,6 +146,9 @@ enum EGCItemMsg {
|
|||||||
k_EMsgGCRecurringSubscriptionStatus = 2530;
|
k_EMsgGCRecurringSubscriptionStatus = 2530;
|
||||||
k_EMsgGCAdjustEquipSlotsManual = 2531;
|
k_EMsgGCAdjustEquipSlotsManual = 2531;
|
||||||
k_EMsgGCAdjustEquipSlotsShuffle = 2532;
|
k_EMsgGCAdjustEquipSlotsShuffle = 2532;
|
||||||
|
k_EMsgGCNameItemAndEquip = 2533;
|
||||||
|
k_EMsgGCOpenCrate = 2534;
|
||||||
|
k_EMsgGCAcknowledgeRentalExpiration = 2535;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum EGCMsgResponse {
|
enum EGCMsgResponse {
|
||||||
|
@ -16,7 +16,7 @@ message CSubtickMoveStep {
|
|||||||
|
|
||||||
message CBaseUserCmdPB {
|
message CBaseUserCmdPB {
|
||||||
optional int32 command_number = 1;
|
optional int32 command_number = 1;
|
||||||
optional int32 tick_count = 2;
|
optional int32 client_tick = 2;
|
||||||
optional .CInButtonStatePB buttons_pb = 3;
|
optional .CInButtonStatePB buttons_pb = 3;
|
||||||
optional .CMsgQAngle viewangles = 4;
|
optional .CMsgQAngle viewangles = 4;
|
||||||
optional float forwardmove = 5;
|
optional float forwardmove = 5;
|
||||||
|
@ -50,6 +50,8 @@ enum EBaseUserMessages {
|
|||||||
UM_RequestDiagnostic = 162;
|
UM_RequestDiagnostic = 162;
|
||||||
UM_DiagnosticResponse = 163;
|
UM_DiagnosticResponse = 163;
|
||||||
UM_ExtraUserData = 164;
|
UM_ExtraUserData = 164;
|
||||||
|
UM_NotifyResponseFound = 165;
|
||||||
|
UM_PlayResponseConditional = 166;
|
||||||
UM_MAX_BASE = 200;
|
UM_MAX_BASE = 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,6 +103,10 @@ enum PARTICLE_MESSAGE {
|
|||||||
GAME_PARTICLE_MANAGER_EVENT_UPDATE_TRANSFORM = 27;
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_TRANSFORM = 27;
|
||||||
GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRANSITION_OVERRIDE = 28;
|
GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRANSITION_OVERRIDE = 28;
|
||||||
GAME_PARTICLE_MANAGER_EVENT_FREEZE_INVOLVING = 29;
|
GAME_PARTICLE_MANAGER_EVENT_FREEZE_INVOLVING = 29;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRIDE_ELEMENT = 30;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CLEAR_MODELLIST_OVERRIDE = 31;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM = 32;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_DESTROY_PHYSICS_SIM = 33;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum EHapticPulseType {
|
enum EHapticPulseType {
|
||||||
@ -485,6 +491,16 @@ message CUserMsg_ParticleManager {
|
|||||||
optional uint32 entity_handle = 3 [default = 16777215];
|
optional uint32 entity_handle = 3 [default = 16777215];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message AddModellistOverrideElement {
|
||||||
|
optional string model_name = 1;
|
||||||
|
optional float spawn_probability = 2;
|
||||||
|
optional uint32 groupid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ClearModellistOverride {
|
||||||
|
optional uint32 groupid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message SetParticleNamedValueContext {
|
message SetParticleNamedValueContext {
|
||||||
message FloatContextValue {
|
message FloatContextValue {
|
||||||
optional uint32 value_name_hash = 1;
|
optional uint32 value_name_hash = 1;
|
||||||
@ -513,6 +529,13 @@ message CUserMsg_ParticleManager {
|
|||||||
repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4;
|
repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message CreatePhysicsSim {
|
||||||
|
optional string prop_group_name = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyPhysicsSim {
|
||||||
|
}
|
||||||
|
|
||||||
required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE];
|
required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE];
|
||||||
required uint32 index = 2;
|
required uint32 index = 2;
|
||||||
optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3;
|
optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3;
|
||||||
@ -544,6 +567,10 @@ message CUserMsg_ParticleManager {
|
|||||||
optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30;
|
optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30;
|
||||||
optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31;
|
optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31;
|
||||||
optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32;
|
optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32;
|
||||||
|
optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33;
|
||||||
|
optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34;
|
||||||
|
optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35;
|
||||||
|
optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36;
|
||||||
|
|
||||||
extensions 100 to 201;
|
extensions 100 to 201;
|
||||||
}
|
}
|
||||||
@ -575,18 +602,6 @@ message CUserMessageAnimStateGraphState {
|
|||||||
optional bytes data = 2;
|
optional bytes data = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CUserMessageCommandQueueState {
|
|
||||||
message command_queue_info_t {
|
|
||||||
optional uint32 commands_queued = 1;
|
|
||||||
optional uint32 command_queue_desired_size = 2;
|
|
||||||
optional uint32 starved_command_ticks = 3;
|
|
||||||
optional int32 time_dilation_percent = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
optional int32 player_slot = 1 [default = -1];
|
|
||||||
optional .CUserMessageCommandQueueState.command_queue_info_t command_queue_info = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message CUserMessageUpdateCssClasses {
|
message CUserMessageUpdateCssClasses {
|
||||||
optional int32 target_world_panel = 1;
|
optional int32 target_world_panel = 1;
|
||||||
optional string css_classes = 2;
|
optional string css_classes = 2;
|
||||||
@ -750,3 +765,23 @@ message CUserMessage_ExtraUserData {
|
|||||||
repeated bytes detail1 = 4;
|
repeated bytes detail1 = 4;
|
||||||
repeated bytes detail2 = 5;
|
repeated bytes detail2 = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message CUserMessage_NotifyResponseFound {
|
||||||
|
message Criteria {
|
||||||
|
optional uint32 name_symbol = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 ent_index = 1 [default = -1];
|
||||||
|
optional string rule_name = 2;
|
||||||
|
optional string response_value = 3;
|
||||||
|
optional string response_concept = 4;
|
||||||
|
repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_PlayResponseConditional {
|
||||||
|
optional int32 ent_index = 1 [default = -1];
|
||||||
|
repeated int32 player_slots = 2;
|
||||||
|
optional string response = 3;
|
||||||
|
optional .CMsgVector ent_origin = 4;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user