Skip to content

CShatterGlassShard

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 184 bytes (0xb8)Alignment: 8 bytesModule: serverBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Inheritance tree
  • CShatterGlassShard
Relationship diagram (5 edges)
classDiagram
    CShatterGlassShard *-- InfoForResourceTypeCModel
    CShatterGlassShard --> CShatterGlassShardPhysics
    CShatterGlassShard --> CFuncShatterglass
    CShatterGlassShard *-- GameTime_t
    CShatterGlassShard --> CBaseEntity
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

28 fields, 28 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

CShatterGlassShard

OffsetFieldTypeFromAnnotations
0x8m_hShardHandleuint32
0x10m_vecPanelVerticesCUtlVector< Vector2D >MNotSaved
0x28m_vLocalPanelSpaceOriginVector2DMNotSaved
0x30m_hModelCStrongHandle< InfoForResourceTypeCModel >MNotSaved
0x38m_hPhysicsEntityCHandle< CShatterGlassShardPhysics >
0x3cm_hParentPanelCHandle< CFuncShatterglass >
0x40m_hParentSharduint32
0x44m_ShatterStressTypeShatterGlassStressType
0x48m_vecStressVelocityVector
0x54m_bCreatedModelboolMNotSaved
0x58m_flLongestEdgefloat32MNotSaved
0x5cm_flShortestEdgefloat32MNotSaved
0x60m_flLongestAcrossfloat32MNotSaved
0x64m_flShortestAcrossfloat32MNotSaved
0x68m_flSumOfAllEdgesfloat32MNotSaved
0x6cm_flAreafloat32MNotSaved
0x70m_nOnFrameEdgeOnFrame
0x74m_nSubShardGenerationint32
0x78m_vecAverageVertPositionVector2DMNotSaved
0x80m_bAverageVertPositionIsValidboolMNotSaved
0x84m_vecPanelSpaceStressPositionAVector2D
0x8cm_vecPanelSpaceStressPositionBVector2D
0x94m_bStressPositionAIsValidbool
0x95m_bStressPositionBIsValidbool
0x96m_bFlaggedForRemovalbool
0x98m_flPhysicsEntitySpawnedAtTimeGameTime_t
0x9cm_hEntityHittingMeCHandle< CBaseEntity >
0xa0m_vecNeighborsCUtlVector< uint32 >
KV3 class defaults
{
	"_class": "CShatterGlassShard",
	"m_hShardHandle": 0,
	"m_hPhysicsEntity": null,
	"m_hParentPanel": null,
	"m_hParentShard": 0,
	"m_ShatterStressType": "SHATTERGLASS_BLUNT",
	"m_vecStressVelocity":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_nOnFrameEdge": "ONFRAME_UNKNOWN",
	"m_nSubShardGeneration": 0,
	"m_vecPanelSpaceStressPositionA":
	[
		0.000000,
		0.000000
	],
	"m_vecPanelSpaceStressPositionB":
	[
		0.000000,
		0.000000
	],
	"m_bStressPositionAIsValid": false,
	"m_bStressPositionBIsValid": false,
	"m_bFlaggedForRemoval": false,
	"m_flPhysicsEntitySpawnedAtTime": null,
	"m_hEntityHittingMe": null,
	"m_vecNeighbors":
	[
	]
}