diff --git a/game/shared/base_gcmessages.proto b/game/shared/base_gcmessages.proto index 029afd67..02f453ae 100644 --- a/game/shared/base_gcmessages.proto +++ b/game/shared/base_gcmessages.proto @@ -539,6 +539,7 @@ message CMsgOpenCrate { optional uint64 tool_item_id = 1; optional uint64 subject_item_id = 2; optional bool for_rental = 3; + optional uint32 points_remaining = 4; } message CSOEconRentalHistory { diff --git a/game/shared/econ/econ_gcmessages.proto b/game/shared/econ/econ_gcmessages.proto index 4cd6715a..0ba2e790 100644 --- a/game/shared/econ/econ_gcmessages.proto +++ b/game/shared/econ/econ_gcmessages.proto @@ -8,7 +8,7 @@ enum EGCItemMsg { k_EMsgGCDelete = 1004; k_EMsgGCVerifyCacheSubscription = 1005; k_EMsgGCNameItem = 1006; - k_EMsgGCUnlockCrate = 1007; + k_EMsgGCUnlockCrate_DEPRECATED = 1007; k_EMsgGCUnlockCrateResponse = 1008; k_EMsgGCPaintItem = 1009; k_EMsgGCPaintItemResponse = 1010; @@ -147,6 +147,7 @@ enum EGCItemMsg { k_EMsgGCAdjustEquipSlotsShuffle = 2532; k_EMsgGCOpenCrate = 2534; k_EMsgGCAcknowledgeRentalExpiration = 2535; + k_EMsgGCVolatileItemLoadContents = 2536; } enum EGCMsgResponse { diff --git a/game/shared/gameevents.proto b/game/shared/gameevents.proto index f43d338f..5dc61401 100644 --- a/game/shared/gameevents.proto +++ b/game/shared/gameevents.proto @@ -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 { diff --git a/game/shared/te.proto b/game/shared/te.proto index 2fa65bd2..59e3cbbd 100644 --- a/game/shared/te.proto +++ b/game/shared/te.proto @@ -7,7 +7,6 @@ enum ETEProtobufIds { TE_BeamEntsId = 403; TE_BeamPointsId = 404; TE_BeamRingId = 405; - TE_BSPDecalId = 407; TE_BubblesId = 408; TE_BubbleTrailId = 409; TE_DecalId = 410; @@ -24,8 +23,6 @@ enum ETEProtobufIds { TE_LargeFunnelId = 421; TE_SparksId = 422; TE_PhysicsPropId = 423; - TE_PlayerDecalId = 424; - TE_ProjectedDecalId = 425; TE_SmokeId = 426; } @@ -75,14 +72,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; @@ -234,19 +223,6 @@ 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;