2023-11-15 18:58:12 -05:00
|
|
|
import "networkbasetypes.proto";
|
|
|
|
|
|
|
|
enum EBaseGameEvents {
|
|
|
|
GE_VDebugGameSessionIDEvent = 200;
|
|
|
|
GE_PlaceDecalEvent = 201;
|
|
|
|
GE_ClearWorldDecalsEvent = 202;
|
|
|
|
GE_ClearEntityDecalsEvent = 203;
|
2025-08-15 18:00:36 +03:00
|
|
|
GE_ClearDecalsForEntityEvent = 204;
|
2023-11-15 18:58:12 -05:00
|
|
|
GE_Source1LegacyGameEventList = 205;
|
|
|
|
GE_Source1LegacyListenEvents = 206;
|
|
|
|
GE_Source1LegacyGameEvent = 207;
|
|
|
|
GE_SosStartSoundEvent = 208;
|
|
|
|
GE_SosStopSoundEvent = 209;
|
|
|
|
GE_SosSetSoundEventParams = 210;
|
|
|
|
GE_SosSetLibraryStackFields = 211;
|
|
|
|
GE_SosStopSoundEventHash = 212;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgVDebugGameSessionIDEvent {
|
|
|
|
optional int32 clientid = 1;
|
|
|
|
optional string gamesessionid = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgPlaceDecalEvent {
|
|
|
|
optional .CMsgVector position = 1;
|
|
|
|
optional .CMsgVector normal = 2;
|
|
|
|
optional .CMsgVector saxis = 3;
|
2025-08-15 18:00:36 +03:00
|
|
|
optional int32 boneindex = 4;
|
2023-11-15 18:58:12 -05:00
|
|
|
optional uint32 flags = 5;
|
|
|
|
optional fixed32 color = 6;
|
2025-08-15 18:00:36 +03:00
|
|
|
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;
|
2023-11-15 18:58:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgClearWorldDecalsEvent {
|
|
|
|
optional uint32 flagstoclear = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgClearEntityDecalsEvent {
|
|
|
|
optional uint32 flagstoclear = 1;
|
|
|
|
}
|
|
|
|
|
2025-08-15 18:00:36 +03:00
|
|
|
message CMsgClearDecalsForEntityEvent {
|
2023-11-15 18:58:12 -05:00
|
|
|
optional uint32 flagstoclear = 1;
|
2025-08-15 18:00:36 +03:00
|
|
|
optional uint32 entityhandle = 2 [default = 16777215];
|
2023-11-15 18:58:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSource1LegacyGameEventList {
|
|
|
|
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;
|
|
|
|
}
|