Skip to content

CRectLight

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

Kind: classSize: 2656 bytes (0xa60)Alignment: 8 bytesModule: serverBinary: server.dll

Relationships

Inherits from: CBarnLight

Client counterpart: C_RectLight

Inheritance tree
Relationship diagram (4 edges)
classDiagram
    CEntityInstance <|-- CBaseEntity
    CBaseEntity <|-- CBaseModelEntity
    CBaseModelEntity <|-- CBarnLight
    CBarnLight <|-- CRectLight
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

206 fields, 1 declared here and 205 inherited. Offsets are absolute from the object base on windows-x86_64.

CEntityInstanceCBaseEntityCBaseModelEntityCBarnLightCRectLight

OffsetFieldTypeFromAnnotations
0x8m_iszPrivateVScriptsCUtlSymbolLargeCEntityInstance
0x10m_pEntityCEntityIdentity*CEntityInstanceCEntityIdentity pointer: the entity's identity record (name, class, handle, flags).
0x28m_CScriptComponentCScriptComponent*CEntityInstanceVScript component attached to the entity, when scripted.
0x30m_CBodyComponentCBodyComponent*CBaseEntity
0x38m_NetworkTransmitComponentCNetworkTransmitComponentCBaseEntity
0x248m_aThinkFunctionsCUtlVector< thinkfunc_t >CBaseEntity
0x260m_iCurrentThinkContextint32CBaseEntityMNotSaved
0x264m_nLastThinkTickGameTick_tCBaseEntity
0x268m_bDisabledContextThinksboolCBaseEntity
0x278m_isSteadyStateCTypedBitVec< 64 >CBaseEntityMNotSaved
0x280m_lastNetworkChangefloat32CBaseEntityMNotSaved
0x288m_thinkBASEPTRCBaseEntity
0x290m_ResponseContextsCUtlVector< ResponseContext_t >CBaseEntity
0x2a8m_iszResponseContextCUtlSymbolLargeCBaseEntity
0x2b0m_pfnTouchENTITYFUNCPTRCBaseEntity
0x2b8m_pfnUseUSEPTRCBaseEntity
0x2c0m_pfnBlockedENTITYFUNCPTRCBaseEntity
0x2c8m_pfnMoveDoneBASEPTRCBaseEntity
0x2d0m_iHealthint32CBaseEntityCurrent health points of the entity. Serialised with the 'ClampHealth' encoder so values above max are clamped.
0x2d4m_iMaxHealthint32CBaseEntityMaximum health points; used to normalise health bars in the HUD.
0x2d8m_lifeStateuint8CBaseEntityLIFE_STATE enum: 0 = Alive, 1 = Dying, 2 = Dead, 3 = Respawnable, 4 = Discardbody.
0x2dcm_flDamageAccumulatorfloat32CBaseEntity
0x2e0m_bTakesDamageboolCBaseEntity
0x2e8m_nTakeDamageFlagsTakeDamageFlags_tCBaseEntity
0x2f0m_nPlatformTypeEntityPlatformTypes_tCBaseEntity
0x2f2m_MoveCollideMoveCollide_tCBaseEntity
0x2f3m_MoveTypeMoveType_tCBaseEntity
0x2f4m_nPreviouslySetMoveTypeMoveType_tCBaseEntity
0x2f5m_nActualMoveTypeMoveType_tCBaseEntity
0x2f6m_nWaterTouchuint8CBaseEntityMNotSaved
0x2f7m_nSlimeTouchuint8CBaseEntityMNotSaved
0x2f8m_bRestoreInHierarchyboolCBaseEntity
0x300m_targetCUtlSymbolLargeCBaseEntity
0x308m_hDamageFilterCHandle< CBaseFilter >CBaseEntity
0x310m_iszDamageFilterNameCUtlSymbolLargeCBaseEntity
0x318m_flMoveDoneTimefloat32CBaseEntity
0x31cm_nSubclassIDCUtlStringTokenCBaseEntity
0x328m_flAnimTimefloat32CBaseEntityFloating-point timestamp of the most-recent animation update; used by the client for animation interpolation. MKV3TransferSaveOpsForField GetEngineTimeSaveRestoreOps
0x32cm_flSimulationTimefloat32CBaseEntityFloating-point timestamp of the most-recent physics simulation step; used by the client for position interpolation. MKV3TransferSaveOpsForField GetEngineTimeSaveRestoreOps
0x330m_flCreateTimeGameTime_tCBaseEntity
0x334m_bClientSideRagdollboolCBaseEntity
0x335m_ubInterpolationFrameuint8CBaseEntity
0x338m_vPrevVPhysicsUpdatePosVectorWSCBaseEntity
0x344m_iTeamNumuint8CBaseEntityTeam number: 0 = Unassigned, 1 = Spectator, 2 = Terrorist, 3 = Counter-Terrorist.
0x348m_iGlobalnameCUtlSymbolLargeCBaseEntityMSaveBehavior
0x350m_iSentToClientsint32CBaseEntityMNotSaved
0x358m_sUniqueHammerIDCUtlStringCBaseEntity
0x360m_spawnflagsuint32CBaseEntity
0x364m_nNextThinkTickGameTick_tCBaseEntityServer tick on which the entity's Think() function will next execute (-1 = never).
0x368m_nSimulationTickint32CBaseEntityMKV3TransferSaveOpsForField GetEngineTickSaveRestoreOps
0x370m_OnKilledCEntityIOOutputCBaseEntity
0x388m_fFlagsuint32CBaseEntityEntity flags bitmask (FL_ONGROUND = 1, FL_DUCKING = 4, FL_INWATER = 8, FL_FROZEN = 0x200, etc.).
0x38cm_vecAbsVelocityVectorCBaseEntity
0x398m_vecVelocityCNetworkVelocityVectorCBaseEntityCurrent world-space velocity vector of the entity.
0x3c8m_vecBaseVelocityVectorCBaseEntityAdditional world-space velocity contributed by moving platforms, conveyor belts, etc.
0x3d4m_nPushEnumCountint32CBaseEntityMNotSaved
0x3d8m_pCollisionCCollisionProperty*CBaseEntityMNotSaved
0x3e0m_hEffectEntityCHandle< CBaseEntity >CBaseEntity
0x3e4m_hOwnerEntityCHandle< CBaseEntity >CBaseEntityCHandle to the entity that owns or spawned this entity (e.g. the thrower of a grenade).
0x3e8m_fEffectsuint32CBaseEntityEffect flags bitmask (EF_NODRAW = 32, EF_NORECEIVESHADOW = 64, etc.).
0x3ecm_hGroundEntityCHandle< CBaseEntity >CBaseEntityCHandle to the entity this entity is standing on (INVALID_EHANDLE if airborne).
0x3f0m_nGroundBodyIndexint32CBaseEntity
0x3f4m_flFrictionfloat32CBaseEntitySurface friction multiplier (1.0 = normal; lower values make the entity slide more).
0x3f8m_flElasticityfloat32CBaseEntity
0x3fcm_flGravityScalefloat32CBaseEntityGravity scale multiplier (1.0 = normal; 0 = no gravity).
0x400m_flTimeScalefloat32CBaseEntityTime-scale multiplier applied to this entity's simulation (1.0 = real time; used by bullet time effects).
0x404m_flWaterLevelfloat32CBaseEntity
0x408m_bGravityDisabledboolCBaseEntity
0x409m_bAnimatedEveryTickboolCBaseEntityTrue when the entity's animation must be updated every server tick regardless of network interest.
0x40cm_flActualGravityScalefloat32CBaseEntity
0x410m_bGravityActuallyDisabledboolCBaseEntity
0x411m_bDisableLowViolenceboolCBaseEntity
0x412m_nWaterTypeuint8CBaseEntity
0x414m_iEFlagsint32CBaseEntity
0x418m_OnUser1CEntityIOOutputCBaseEntity
0x430m_OnUser2CEntityIOOutputCBaseEntity
0x448m_OnUser3CEntityIOOutputCBaseEntity
0x460m_OnUser4CEntityIOOutputCBaseEntity
0x478m_iInitialTeamNumint32CBaseEntity
0x47cm_flNavIgnoreUntilTimeGameTime_tCBaseEntity
0x480m_vecAngVelocityQAngleCBaseEntity
0x48cm_bNetworkQuantizeOriginAndAnglesboolCBaseEntity
0x48dm_bLagCompensateboolCBaseEntity
0x490m_pBlockerCHandle< CBaseEntity >CBaseEntity
0x494m_flLocalTimefloat32CBaseEntity
0x498m_flVPhysicsUpdateLocalTimefloat32CBaseEntity
0x49cm_nBloodTypeBloodTypeCBaseEntity
0x4a0m_pPulseGraphInstanceCPulseGraphInstance_ServerEntity*CBaseEntityMKV3TransferSaveOpsForField GetPulseInstanceSaveRestoreOps
0x4a8m_CRenderComponentCRenderComponent*CBaseModelEntityMNotSaved
0x4b0m_CHitboxComponentCHitboxComponentCBaseModelEntity
0x4c8m_pChoreoComponentCChoreoComponent*CBaseModelEntity
0x4d0m_nDestructiblePartInitialStateDestructed0HitGroup_tCBaseModelEntity
0x4d4m_nDestructiblePartInitialStateDestructed1HitGroup_tCBaseModelEntity
0x4d8m_nDestructiblePartInitialStateDestructed2HitGroup_tCBaseModelEntity
0x4dcm_nDestructiblePartInitialStateDestructed3HitGroup_tCBaseModelEntity
0x4e0m_nDestructiblePartInitialStateDestructed4HitGroup_tCBaseModelEntity
0x4e4m_nDestructiblePartInitialStateDestructed0_PartIndexint32CBaseModelEntity
0x4e8m_nDestructiblePartInitialStateDestructed1_PartIndexint32CBaseModelEntity
0x4ecm_nDestructiblePartInitialStateDestructed2_PartIndexint32CBaseModelEntity
0x4f0m_nDestructiblePartInitialStateDestructed3_PartIndexint32CBaseModelEntity
0x4f4m_nDestructiblePartInitialStateDestructed4_PartIndexint32CBaseModelEntity
0x4f8m_bDestructiblePartInitialStateDestructed0_GenerateBreakpiecesboolCBaseModelEntity
0x4f9m_bDestructiblePartInitialStateDestructed1_GenerateBreakpiecesboolCBaseModelEntity
0x4fam_bDestructiblePartInitialStateDestructed2_GenerateBreakpiecesboolCBaseModelEntity
0x4fbm_bDestructiblePartInitialStateDestructed3_GenerateBreakpiecesboolCBaseModelEntity
0x4fcm_bDestructiblePartInitialStateDestructed4_GenerateBreakpiecesboolCBaseModelEntity
0x500m_pDestructiblePartsSystemComponentCDestructiblePartsComponent*CBaseModelEntity
0x508m_OnDestructibleHitGroupDamageLevelChangedCEntityOutputTemplate< CBaseModelEntity::OnDamageLevelChangedArgs_t >CBaseModelEntity
0x530m_flDissolveStartTimeGameTime_tCBaseModelEntity
0x538m_OnIgniteCEntityIOOutputCBaseModelEntity
0x550m_nRenderModeRenderMode_tCBaseModelEntityRenderMode_t enum controlling transparency and rendering method (0 = Normal, 5 = Translucent, etc.).
0x551m_nRenderFXRenderFx_tCBaseModelEntityRenderFx_t enum for special rendering effects (pulsing, fading, hologram, etc.).
0x552m_bAllowFadeInViewboolCBaseModelEntity
0x570m_clrRenderColorCBaseModelEntityRGBA tint colour multiplied onto the entity's diffuse texture.
0x578m_vecRenderAttributesCUtlVectorEmbeddedNetworkVar< EntityRenderAttribute_t >CBaseModelEntity
0x5e0m_bRenderToCubemapsboolCBaseModelEntity
0x5e1m_bNoInterpolateboolCBaseModelEntity
0x5e8m_CollisionCCollisionPropertyCBaseModelEntityCCollisionProperty struct encoding the entity's collision bounding box shape and flags.
0x6a0m_GlowCGlowPropertyCBaseModelEntityCGlowProperty struct controlling the entity's glow outline (colour, radius, visibility rules).
0x6f8m_flGlowBackfaceMultfloat32CBaseModelEntityMultiplier for the glow effect on back-facing surfaces of the model.
0x6fcm_fadeMinDistfloat32CBaseModelEntityMinimum distance (world units) at which the entity starts to fade out.
0x700m_fadeMaxDistfloat32CBaseModelEntityDistance at which the entity is fully faded out and invisible.
0x704m_flFadeScalefloat32CBaseModelEntityScale factor applied to fade distances; 0 disables distance fading.
0x708m_flShadowStrengthfloat32CBaseModelEntityOpacity of this entity's cast shadow (0 = no shadow, 1 = full shadow).
0x70cm_nObjectCullinguint8CBaseModelEntity
0x710m_bodyGroupChoicesCUtlOrderedMap< CGlobalSymbol, int32 >CBaseModelEntity
0x738m_vecViewOffsetCNetworkViewOffsetVectorCBaseModelEntityOffset from the entity origin to the player's view position (eye height).
0x768m_bvDisabledHitGroupsuint32[1]CBaseModelEntityMKV3TransferSaveOpsForField GetHitgroupDisableListSaveRestoreOps
0x770m_bEnabledboolCBarnLight
0x774m_nColorModeint32CBarnLight
0x778m_ColorColorCBarnLight
0x77cm_flColorTemperaturefloat32CBarnLight
0x780m_flBrightnessfloat32CBarnLight
0x784m_flBrightnessScalefloat32CBarnLight
0x788m_nDirectLightint32CBarnLight
0x78cm_nBakedShadowIndexint32CBarnLight
0x790m_nLightPathUniqueIdint32CBarnLight
0x794m_nLightMapUniqueIdint32CBarnLight
0x798m_nLuminaireShapeint32CBarnLight
0x79cm_flLuminaireSizefloat32CBarnLight
0x7a0m_flLuminaireAnisotropyfloat32CBarnLight
0x7a8m_LightStyleStringCUtlStringCBarnLight
0x7b0m_flLightStyleStartTimeGameTime_tCBarnLight
0x7b8m_QueuedLightStyleStringsCNetworkUtlVectorBase< CUtlString >CBarnLight
0x7d0m_LightStyleEventsCNetworkUtlVectorBase< CUtlString >CBarnLight
0x7e8m_LightStyleTargetsCNetworkUtlVectorBase< CHandle< CBaseModelEntity > >CBarnLight
0x800m_StyleEventCEntityIOOutput[4]CBarnLight
0x880m_hLightCookieCStrongHandle< InfoForResourceTypeCTextureBase >CBarnLight
0x888m_flShapefloat32CBarnLight
0x88cm_flSoftXfloat32CBarnLight
0x890m_flSoftYfloat32CBarnLight
0x894m_flSkirtfloat32CBarnLight
0x898m_flSkirtNearfloat32CBarnLight
0x89cm_vSizeParamsVectorCBarnLight
0x8a8m_flRangefloat32CBarnLight
0x8acm_vShearVectorCBarnLight
0x8b8m_nBakeSpecularToCubemapsint32CBarnLight
0x8bcm_vBakeSpecularToCubemapsSizeVectorCBarnLight
0x8c8m_flBakeSpecularToCubemapsScalefloat32CBarnLight
0x8ccm_nCastShadowsint32CBarnLight
0x8d0m_nShadowMapSizeint32CBarnLight
0x8d4m_nShadowPriorityint32CBarnLight
0x8d8m_bContactShadowboolCBarnLight
0x8d9m_bForceShadowsEnabledboolCBarnLight
0x8dcm_nBounceLightint32CBarnLight
0x8e0m_flBounceScalefloat32CBarnLight
0x8e4m_flMinRoughnessfloat32CBarnLight
0x8e8m_vAlternateColorVectorCBarnLight
0x8f4m_fAlternateColorBrightnessfloat32CBarnLight
0x8f8m_nFogint32CBarnLight
0x8fcm_flFogStrengthfloat32CBarnLight
0x900m_nFogShadowsint32CBarnLight
0x904m_flFogScalefloat32CBarnLight
0x908m_flFadeSizeStartfloat32CBarnLight
0x90cm_flFadeSizeEndfloat32CBarnLight
0x910m_flShadowFadeSizeStartfloat32CBarnLight
0x914m_flShadowFadeSizeEndfloat32CBarnLight
0x918m_bPrecomputedFieldsValidboolCBarnLight
0x91cm_vPrecomputedBoundsMinsVectorCBarnLight
0x928m_vPrecomputedBoundsMaxsVectorCBarnLight
0x934m_vPrecomputedOBBOriginVectorCBarnLight
0x940m_vPrecomputedOBBAnglesQAngleCBarnLight
0x94cm_vPrecomputedOBBExtentVectorCBarnLight
0x958m_nPrecomputedSubFrustaint32CBarnLight
0x95cm_vPrecomputedOBBOrigin0VectorCBarnLight
0x968m_vPrecomputedOBBAngles0QAngleCBarnLight
0x974m_vPrecomputedOBBExtent0VectorCBarnLight
0x980m_vPrecomputedOBBOrigin1VectorCBarnLight
0x98cm_vPrecomputedOBBAngles1QAngleCBarnLight
0x998m_vPrecomputedOBBExtent1VectorCBarnLight
0x9a4m_vPrecomputedOBBOrigin2VectorCBarnLight
0x9b0m_vPrecomputedOBBAngles2QAngleCBarnLight
0x9bcm_vPrecomputedOBBExtent2VectorCBarnLight
0x9c8m_vPrecomputedOBBOrigin3VectorCBarnLight
0x9d4m_vPrecomputedOBBAngles3QAngleCBarnLight
0x9e0m_vPrecomputedOBBExtent3VectorCBarnLight
0x9ecm_vPrecomputedOBBOrigin4VectorCBarnLight
0x9f8m_vPrecomputedOBBAngles4QAngleCBarnLight
0xa04m_vPrecomputedOBBExtent4VectorCBarnLight
0xa10m_vPrecomputedOBBOrigin5VectorCBarnLight
0xa1cm_vPrecomputedOBBAngles5QAngleCBarnLight
0xa28m_vPrecomputedOBBExtent5VectorCBarnLight
0xa34m_bPvsModifyEntityboolCBarnLight
0xa35m_bTransmitAlwaysboolCBarnLight
0xa38m_VisClustersCNetworkUtlVectorBase< uint16 >CBarnLight
0xa58m_bShowLightbool