cs2: Update protobufs

This commit is contained in:
GAMMACASE 2025-08-15 18:00:36 +03:00
parent dbf150f14d
commit 93ccb6b7b2
4 changed files with 13 additions and 38 deletions

View File

@ -539,6 +539,7 @@ message CMsgOpenCrate {
optional uint64 tool_item_id = 1; optional uint64 tool_item_id = 1;
optional uint64 subject_item_id = 2; optional uint64 subject_item_id = 2;
optional bool for_rental = 3; optional bool for_rental = 3;
optional uint32 points_remaining = 4;
} }
message CSOEconRentalHistory { message CSOEconRentalHistory {

View File

@ -8,7 +8,7 @@ enum EGCItemMsg {
k_EMsgGCDelete = 1004; k_EMsgGCDelete = 1004;
k_EMsgGCVerifyCacheSubscription = 1005; k_EMsgGCVerifyCacheSubscription = 1005;
k_EMsgGCNameItem = 1006; k_EMsgGCNameItem = 1006;
k_EMsgGCUnlockCrate = 1007; k_EMsgGCUnlockCrate_DEPRECATED = 1007;
k_EMsgGCUnlockCrateResponse = 1008; k_EMsgGCUnlockCrateResponse = 1008;
k_EMsgGCPaintItem = 1009; k_EMsgGCPaintItem = 1009;
k_EMsgGCPaintItemResponse = 1010; k_EMsgGCPaintItemResponse = 1010;
@ -147,6 +147,7 @@ enum EGCItemMsg {
k_EMsgGCAdjustEquipSlotsShuffle = 2532; k_EMsgGCAdjustEquipSlotsShuffle = 2532;
k_EMsgGCOpenCrate = 2534; k_EMsgGCOpenCrate = 2534;
k_EMsgGCAcknowledgeRentalExpiration = 2535; k_EMsgGCAcknowledgeRentalExpiration = 2535;
k_EMsgGCVolatileItemLoadContents = 2536;
} }
enum EGCMsgResponse { enum EGCMsgResponse {

View File

@ -5,7 +5,7 @@ enum EBaseGameEvents {
GE_PlaceDecalEvent = 201; GE_PlaceDecalEvent = 201;
GE_ClearWorldDecalsEvent = 202; GE_ClearWorldDecalsEvent = 202;
GE_ClearEntityDecalsEvent = 203; GE_ClearEntityDecalsEvent = 203;
GE_ClearDecalsForSkeletonInstanceEvent = 204; GE_ClearDecalsForEntityEvent = 204;
GE_Source1LegacyGameEventList = 205; GE_Source1LegacyGameEventList = 205;
GE_Source1LegacyListenEvents = 206; GE_Source1LegacyListenEvents = 206;
GE_Source1LegacyGameEvent = 207; GE_Source1LegacyGameEvent = 207;
@ -25,17 +25,15 @@ message CMsgPlaceDecalEvent {
optional .CMsgVector position = 1; optional .CMsgVector position = 1;
optional .CMsgVector normal = 2; optional .CMsgVector normal = 2;
optional .CMsgVector saxis = 3; optional .CMsgVector saxis = 3;
optional uint32 decalmaterialindex = 4; optional int32 boneindex = 4;
optional uint32 flags = 5; optional uint32 flags = 5;
optional fixed32 color = 6; optional fixed32 color = 6;
optional float width = 7; optional int32 random_seed = 7;
optional float height = 8; optional uint32 decal_group_name = 8;
optional float depth = 9; optional float size_override = 9;
optional uint32 entityhandleindex = 10; optional uint32 entityhandle = 10 [default = 16777215];
optional fixed32 skeletoninstancehash = 11; optional uint64 material_id = 11;
optional int32 boneindex = 12; optional uint32 sequence_name = 12;
optional bool translucenthit = 13;
optional bool is_adjacent = 14;
} }
message CMsgClearWorldDecalsEvent { message CMsgClearWorldDecalsEvent {
@ -46,10 +44,9 @@ message CMsgClearEntityDecalsEvent {
optional uint32 flagstoclear = 1; optional uint32 flagstoclear = 1;
} }
message CMsgClearDecalsForSkeletonInstanceEvent { message CMsgClearDecalsForEntityEvent {
optional uint32 flagstoclear = 1; optional uint32 flagstoclear = 1;
optional uint32 entityhandleindex = 2; optional uint32 entityhandle = 2 [default = 16777215];
optional uint32 skeletoninstancehash = 3;
} }
message CMsgSource1LegacyGameEventList { message CMsgSource1LegacyGameEventList {

View File

@ -7,7 +7,6 @@ enum ETEProtobufIds {
TE_BeamEntsId = 403; TE_BeamEntsId = 403;
TE_BeamPointsId = 404; TE_BeamPointsId = 404;
TE_BeamRingId = 405; TE_BeamRingId = 405;
TE_BSPDecalId = 407;
TE_BubblesId = 408; TE_BubblesId = 408;
TE_BubbleTrailId = 409; TE_BubbleTrailId = 409;
TE_DecalId = 410; TE_DecalId = 410;
@ -24,8 +23,6 @@ enum ETEProtobufIds {
TE_LargeFunnelId = 421; TE_LargeFunnelId = 421;
TE_SparksId = 422; TE_SparksId = 422;
TE_PhysicsPropId = 423; TE_PhysicsPropId = 423;
TE_PlayerDecalId = 424;
TE_ProjectedDecalId = 425;
TE_SmokeId = 426; TE_SmokeId = 426;
} }
@ -75,14 +72,6 @@ message CMsgTEBeamRing {
optional uint32 endentity = 3; 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 { message CMsgTEBubbles {
optional .CMsgVector mins = 1; optional .CMsgVector mins = 1;
optional .CMsgVector maxs = 2; optional .CMsgVector maxs = 2;
@ -234,19 +223,6 @@ message CMsgTEPhysicsProp {
optional int32 dmgtype = 13; 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 { message CMsgTESmoke {
optional .CMsgVector origin = 1; optional .CMsgVector origin = 1;
optional float scale = 2; optional float scale = 2;