CEntityInstance
Root of the entity class hierarchy (server and client). Everything that has an entity handle ultimately derives from this.
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 48 bytes (0x30)Alignment: unspecified (0xff sentinel)Module: entity2Binary: assetrename.dll
Relationships
Inherits from: nothing; this is a root class.
Derived by: C_BaseEntity, CBaseEntity
Used by (2) as a field type
- CGameSceneNode client
- CGameSceneNode server
Inheritance tree
CEntityInstance (2)
C_BaseEntity client (58)
- C_BaseModelEntity client
- C_ColorCorrection client
- C_CSGO_EndOfMatchLineupEndpoint client
- C_CSGO_MapPreviewCameraPath client
- C_CSGO_MapPreviewCameraPathNode client
- C_CSGO_TeamPreviewCharacterPosition client
- C_CsmFovOverride client
- C_CSMinimapBoundary client
- C_CSPetPlacement client
- C_CSPlayerResource client
- C_EntityFlame client
- C_EnvCombinedLightProbeVolume client
- C_EnvCubemap client
- C_EnvCubemapFog client
- C_EnvDetailController client
- C_EnvLightProbeVolume client
- C_EnvVolumetricFogController client
- C_EnvVolumetricFogVolume client
- C_EnvWind client
- C_EnvWindClientside client
- C_EnvWindController client
- C_EnvWindVolume client
- C_FogController client
- C_GameRulesProxy client
- C_GlobalLight client
- C_GradientFog client
- C_HandleTest client
- C_InfoLadderDismount client
- C_InfoVisibilityBox client
- C_MapVetoPickController client
- C_PathParticleRope client
- C_PlayerPing client
- C_PlayerVisibility client
- C_PointCamera client
- C_PointEntity client
- C_PointValueRemapper client
- C_PortraitWorldCallbackHandler client
- C_SkyCamera client
- C_SoundAreaEntityBase client
- C_SoundEventEntity client
- C_SoundOpvarSetPointBase client
- C_Team client
- C_TintController client
- C_TonemapController2 client
- C_VoteController client
- CBasePlayerController client
- CCitadelSoundOpvarSetOBB client
- CCS_PortraitWorldCallbackHandler client
- CCSCustomHudLayout client
- CCSCustomPlayerCamera client
- CEnvSoundscape client
- CInfoWorldLayer client
- CLogicalEntity client
- CPathSimple client
- CPointOrient client
- CPulseGameBlackboard client
- CRagdollManager client
- CSkyboxReference client
CBaseEntity server (74)
- CAI_ChangeHintGroup server
- CBaseModelEntity server
- CBasePlayerController server
- CCitadelSoundOpvarSetOBB server
- CColorCorrection server
- CCommentaryAuto server
- CCSCustomHudLayout server
- CCSCustomPlayerCamera server
- CCSGO_EndOfMatchLineupEndpoint server
- CCSGO_TeamPreviewCharacterPosition server
- CCSMinimapBoundary server
- CCSPetPlacement server
- CCSPlayerResource server
- CCSPointScriptEntity server
- CDebugHistory server
- CEnableMotionFixup server
- CEntityFlame server
- CEnvBeverage server
- CEnvCombinedLightProbeVolume server
- CEnvCubemap server
- CEnvCubemapFog server
- CEnvDetailController server
- CEnvEntityIgniter server
- CEnvLightProbeVolume server
- CEnvSoundscape server
- CEnvVolumetricFogController server
- CEnvVolumetricFogVolume server
- CEnvWind server
- CEnvWindController server
- CEnvWindVolume server
- CFishPool server
- CFogController server
- CFuncPropRespawnZone server
- CFuncTimescale server
- CGameGibManager server
- CGameRulesProxy server
- CGradientFog server
- CHandleDummy server
- CHandleTest server
- CInfoLadderDismount server
- CInfoVisibilityBox server
- CInfoWorldLayer server
- CLogicAuto server
- CLogicGameStateReport server
- CLogicNPCCounter server
- CMapVetoPickController server
- CNullEntity server
- CPathParticleRope server
- CPathSimple server
- CPhysicsSpring server
- CPhysicsWire server
- CPlayerPing server
- CPlayerVisibility server
- CPointCamera server
- CPointEntity server
- CPointEntityFinder server
- CPointOrient server
- CPointPulse server
- CPointValueRemapper server
- CPulseGameBlackboard server
- CRagdollManager server
- CScriptedSequence server
- CServerOnlyEntity server
- CSkyboxReference server
- CSkyCamera server
- CSoundAreaEntityBase server
- CSoundEventEntity server
- CSoundEventParameter server
- CSoundOpvarSetEntity server
- CSoundOpvarSetPointBase server
- CTeam server
- CTestEffect server
- CTonemapController2 server
- CVoteController server
Relationship diagram (4 edges)
classDiagram
CEntityInstance <|-- C_BaseEntity
CEntityInstance <|-- CBaseEntity
CEntityInstance --> CEntityIdentity
CEntityInstance --> CScriptComponentMemory layout
3 fields, 3 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CEntityInstance
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_iszPrivateVScripts | CUtlSymbolLarge | ||
0x10 | m_pEntity | CEntityIdentity* | CEntityIdentity pointer: the entity's identity record (name, class, handle, flags). | |
0x28 | m_CScriptComponent | CScriptComponent* | VScript component attached to the entity, when scripted. |