mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 09:18:00 +08:00
143 lines
3.8 KiB
Protocol Buffer
143 lines
3.8 KiB
Protocol Buffer
import "networkbasetypes.proto";
|
|
|
|
enum EBaseGameEvents {
|
|
GE_VDebugGameSessionIDEvent = 200;
|
|
GE_PlaceDecalEvent = 201;
|
|
GE_ClearWorldDecalsEvent = 202;
|
|
GE_ClearEntityDecalsEvent = 203;
|
|
GE_ClearDecalsForEntityEvent = 204;
|
|
GE_Source1LegacyGameEventList = 205;
|
|
GE_Source1LegacyListenEvents = 206;
|
|
GE_Source1LegacyGameEvent = 207;
|
|
GE_SosStartSoundEvent = 208;
|
|
GE_SosStopSoundEvent = 209;
|
|
GE_SosSetSoundEventParams = 210;
|
|
GE_SosSetLibraryStackFields = 211;
|
|
GE_SosStopSoundEventHash = 212;
|
|
GE_ClothStiffenAnimEvent = 213;
|
|
GE_ClothEffectAnimEvent = 214;
|
|
}
|
|
|
|
message CMsgVDebugGameSessionIDEvent {
|
|
optional int32 clientid = 1;
|
|
optional string gamesessionid = 2;
|
|
}
|
|
|
|
message CMsgPlaceDecalEvent {
|
|
optional .CMsgVector position = 1;
|
|
optional .CMsgVector normal = 2;
|
|
optional .CMsgVector saxis = 3;
|
|
optional int32 boneindex = 4;
|
|
optional int32 triangleindex = 13;
|
|
optional uint32 flags = 5;
|
|
optional fixed32 color = 6;
|
|
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;
|
|
optional .CMsgVector position_objectspace = 14;
|
|
optional .CMsgVector normal_objectspace = 15;
|
|
}
|
|
|
|
message CMsgClearWorldDecalsEvent {
|
|
optional uint32 flagstoclear = 1;
|
|
}
|
|
|
|
message CMsgClearEntityDecalsEvent {
|
|
optional uint32 flagstoclear = 1;
|
|
}
|
|
|
|
message CMsgClearDecalsForEntityEvent {
|
|
optional uint32 flagstoclear = 1;
|
|
optional uint32 entityhandle = 2 [default = 16777215];
|
|
}
|
|
|
|
message CMsgSource1LegacyGameEventList {
|
|
option (maximum_size_bytes) = 32768;
|
|
|
|
message key_t {
|
|
optional int32 type = 1;
|
|
optional string name = 2;
|
|
}
|
|
|
|
message descriptor_t {
|
|
optional int32 eventid = 1;
|
|
optional string name = 2;
|
|
repeated .CMsgSource1LegacyGameEventList.key_t keys = 3;
|
|
}
|
|
|
|
repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1;
|
|
}
|
|
|
|
message CMsgSource1LegacyListenEvents {
|
|
optional int32 playerslot = 1;
|
|
repeated uint32 eventarraybits = 2;
|
|
}
|
|
|
|
message CMsgSource1LegacyGameEvent {
|
|
message key_t {
|
|
optional int32 type = 1;
|
|
optional string val_string = 2;
|
|
optional float val_float = 3;
|
|
optional int32 val_long = 4;
|
|
optional int32 val_short = 5;
|
|
optional int32 val_byte = 6;
|
|
optional bool val_bool = 7;
|
|
optional uint64 val_uint64 = 8;
|
|
}
|
|
|
|
optional string event_name = 1;
|
|
optional int32 eventid = 2;
|
|
repeated .CMsgSource1LegacyGameEvent.key_t keys = 3;
|
|
optional int32 server_tick = 4;
|
|
optional int32 passthrough = 5;
|
|
}
|
|
|
|
message CMsgSosStartSoundEvent {
|
|
optional int32 soundevent_guid = 1;
|
|
optional fixed32 soundevent_hash = 2;
|
|
optional int32 source_entity_index = 3 [default = -1];
|
|
optional int32 seed = 4;
|
|
optional bytes packed_params = 5;
|
|
optional float start_time = 6;
|
|
}
|
|
|
|
message CMsgSosStopSoundEvent {
|
|
optional int32 soundevent_guid = 1;
|
|
}
|
|
|
|
message CMsgSosStopSoundEventHash {
|
|
optional fixed32 soundevent_hash = 1;
|
|
optional int32 source_entity_index = 2 [default = -1];
|
|
}
|
|
|
|
message CMsgSosSetSoundEventParams {
|
|
optional int32 soundevent_guid = 1;
|
|
optional bytes packed_params = 5;
|
|
}
|
|
|
|
message CMsgSosSetLibraryStackFields {
|
|
optional fixed32 stack_hash = 1;
|
|
optional bytes packed_fields = 5;
|
|
}
|
|
|
|
message CMsgClothStiffenAnimEvent {
|
|
optional int32 source_entity_index = 1 [default = -1];
|
|
optional int32 vertex_set_hash = 2;
|
|
optional float intensity = 3;
|
|
optional float length = 4;
|
|
optional float speed_in = 5;
|
|
optional float speed_out = 6;
|
|
}
|
|
|
|
message CMsgClothEffectAnimEvent {
|
|
optional int32 source_entity_index = 1 [default = -1];
|
|
optional int32 effect_name_hash = 2;
|
|
optional int32 operation = 3;
|
|
optional int32 flags = 4;
|
|
optional string tags = 5;
|
|
optional .CMsgVector pte = 6;
|
|
}
|