Skip to content

CWeaponGalilAR

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

Kind: classSize: 4208 bytes (0x1070)Alignment: 16 bytesModule: serverBinary: server.dll

Relationships

Inherits from: CCSWeaponBaseGun

Client counterpart: C_WeaponGalilAR

Inheritance tree
Relationship diagram (5 edges)
classDiagram
    CBaseAnimGraph <|-- CEconEntity
    CEconEntity <|-- CBasePlayerWeapon
    CBasePlayerWeapon <|-- CCSWeaponBase
    CCSWeaponBase <|-- CCSWeaponBaseGun
    CCSWeaponBaseGun <|-- CWeaponGalilAR
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CEntityInstanceCBaseEntityCBaseModelEntityCBaseAnimGraphCEconEntityCBasePlayerWeaponCCSWeaponBaseCCSWeaponBaseGun

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_graphControllerManagerCAnimGraphControllerManagerCBaseAnimGraph
0x808m_pMainGraphControllerCAnimGraphControllerPtrCBaseAnimGraphThe primary animation-graph controller instance for this entity.
0x810m_bInitiallyPopulateInterpHistoryboolCBaseAnimGraph
0x818m_OnLayerCycleUpdatedCEntityOutputTemplate< float32 >CBaseAnimGraph
0x838m_OnExternalChoreoGraphChangedCEntityIOOutputCBaseAnimGraph
0x850m_pChoreoServicesIChoreoServices*CBaseAnimGraphMKV3TransferSaveOpsForField GetChoreoServicesSaveRestoreOps
0x858m_bAnimGraphUpdateEnabledboolCBaseAnimGraph
0x859m_bAnimationUpdateScheduledboolCBaseAnimGraphMNotSaved
0x85cm_vecForceVectorCBaseAnimGraphMNotSaved
0x868m_nForceBoneint32CBaseAnimGraphMNotSaved
0x878m_pRagdollControlIPhysicsRagdollControl*CBaseAnimGraphMPhysPtr
0x880m_RagdollPosePhysicsRagdollPose_tCBaseAnimGraph
0x8a8m_bRagdollEnabledboolCBaseAnimGraphTrue while the entity is simulated as a ragdoll rather than animated.
0x8a9m_bRagdollClientSideboolCBaseAnimGraphMNotSaved
0x8b0m_xParentedRagdollRootInEntitySpaceCTransformCBaseAnimGraph
0x978m_AttributeManagerCAttributeContainerCEconEntity
0xc70m_OriginalOwnerXuidLowuint32CEconEntityLow 32 bits of the item's original-owner SteamID.
0xc74m_OriginalOwnerXuidHighuint32CEconEntityHigh 32 bits of the item's original-owner SteamID.
0xc78m_nFallbackPaintKitint32CEconEntityPaint-kit (skin) id used when full econ item data isn't attached.
0xc7cm_nFallbackSeedint32CEconEntity
0xc80m_flFallbackWearfloat32CEconEntitySkin wear / float value (0 = factory new … 1 = battle-scarred).
0xc84m_nFallbackStatTrakint32CEconEntityStatTrak kill-counter value.
0xc88m_hOldProvideeCHandle< CBaseEntity >CEconEntity
0xc8cm_iOldOwnerClassint32CEconEntity
0xc90m_nNextPrimaryAttackTickGameTick_tCBasePlayerWeaponServer game-tick after which the next primary fire is permitted.
0xc94m_flNextPrimaryAttackTickRatiofloat32CBasePlayerWeaponFractional sub-tick ratio for m_nNextPrimaryAttackTick; together they encode the exact fire-rate timing.
0xc98m_nNextSecondaryAttackTickGameTick_tCBasePlayerWeaponServer game-tick after which the next secondary fire is permitted.
0xc9cm_flNextSecondaryAttackTickRatiofloat32CBasePlayerWeaponFractional sub-tick ratio for m_nNextSecondaryAttackTick.
0xca0m_iClip1int32CBasePlayerWeaponCurrent ammunition in the primary clip/magazine.
0xca4m_iClip2int32CBasePlayerWeaponCurrent ammunition in the secondary clip (unused by most weapons; grenade count for grenade weapons).
0xca8m_pReserveAmmoint32[2]CBasePlayerWeaponArray of 2 reserve-ammo counts; index 0 = primary ammo type, index 1 = secondary ammo type.
0xcb0m_OnPlayerUseCEntityIOOutputCBasePlayerWeapon
0xcd8m_bRemoveableboolCCSWeaponBase
0xcd9m_bPlayerAmmoStockOnPickupboolCCSWeaponBase
0xcdam_bRequireUseToTouchboolCCSWeaponBase
0xcdcm_iWeaponGameplayAnimStateWeaponGameplayAnimStateCCSWeaponBaseWeaponGameplayAnimState enum controlling the weapon's anim-graph state (idle, firing, reloading, inspecting, etc.).
0xce0m_flWeaponGameplayAnimStateTimestampGameTime_tCCSWeaponBase
0xce4m_flInspectCancelCompleteTimeGameTime_tCCSWeaponBaseGameTime at which an in-progress inspect cancel animation will finish.
0xce8m_bInspectPendingboolCCSWeaponBaseTrue when an inspect animation has been queued but not yet started.
0xce9m_bInspectShouldLoopboolCCSWeaponBaseTrue when the inspect animation should loop (held-inspect mode).
0xd14m_nLastEmptySoundCmdNumint32CCSWeaponBase
0xd30m_bFireOnEmptyboolCCSWeaponBase
0xd38m_OnPlayerPickupCEntityIOOutputCCSWeaponBase
0xd50m_weaponModeCSWeaponModeCCSWeaponBaseCSWeaponMode enum: Primary_Mode = 0, Secondary_Mode = 1. Governs which attack function runs on fire.
0xd54m_flTurningInaccuracyDeltafloat32CCSWeaponBase
0xd58m_vecTurningInaccuracyEyeDirLastVectorCCSWeaponBase
0xd64m_flTurningInaccuracyfloat32CCSWeaponBase
0xd68m_fAccuracyPenaltyfloat32CCSWeaponBaseAdditive inaccuracy penalty accumulated by recent shots; decays over time. Feeds into the cone-spread calculation.
0xd6cm_flLastAccuracyUpdateTimeGameTime_tCCSWeaponBase
0xd70m_fAccuracySmoothedForZoomfloat32CCSWeaponBase
0xd74m_iRecoilIndexint32CCSWeaponBaseInteger index into the weapon's recoil table; incremented with each shot, decays when not firing.
0xd78m_flRecoilIndexfloat32CCSWeaponBaseFractional recoil index for sub-step interpolation of the recoil pattern table.
0xd7cm_bBurstModeboolCCSWeaponBaseTrue when the weapon is in burst-fire mode (e.g. Famas burst, Glock18 burst).
0xd80m_nPostponeFireReadyTicksGameTick_tCCSWeaponBaseTick after which a postponed shot will fire (used for the tick-aligned fire mechanism in sub-tick shooting).
0xd84m_flPostponeFireReadyFracfloat32CCSWeaponBaseFractional tick ratio for m_nPostponeFireReadyTicks.
0xd88m_bInReloadboolCCSWeaponBaseTrue while the weapon is performing its reload animation.
0xd8cm_nDeployTickGameTick_tCCSWeaponBase
0xd90m_flDroppedAtTimeGameTime_tCCSWeaponBaseGameTime at which this weapon was dropped onto the ground.
0xd98m_bIsHauledBackboolCCSWeaponBaseTrue while the player is winding up to throw a grenade (held throw).
0xd99m_bSilencerOnboolCCSWeaponBaseTrue when the suppressor is attached (M4A1-S / USP-S).
0xd9cm_flTimeSilencerSwitchCompleteGameTime_tCCSWeaponBaseGameTime at which the suppressor attach/detach animation completes.
0xda0m_flWeaponActionPlaybackRatefloat32CCSWeaponBase
0xda4m_iOriginalTeamNumberint32CCSWeaponBaseTeam that originally spawned this weapon; buy-zone weapon pools are filtered by this.
0xda8m_iMostRecentTeamNumberint32CCSWeaponBaseTeam of the player most recently holding this weapon.
0xdacm_bDroppedNearBuyZoneboolCCSWeaponBaseTrue if the weapon was dropped close to a buy zone (affects whether bots will pick it up).
0xdb0m_flNextAttackRenderTimeOffsetfloat32CCSWeaponBase
0xdc8m_bCanBePickedUpboolCCSWeaponBase
0xdc9m_bUseCanOverrideNextOwnerTouchTimeboolCCSWeaponBase
0xdccm_nextOwnerTouchTimeGameTime_tCCSWeaponBase
0xdd0m_nextPrevOwnerTouchTimeGameTime_tCCSWeaponBase
0xdd8m_nextPrevOwnerUseTimeGameTime_tCCSWeaponBaseGameTime before which the previous owner cannot pick this weapon back up (prevents instant re-pickup after dropping).
0xddcm_hPrevOwnerCHandle< CCSPlayerPawn >CCSWeaponBaseCHandle to the CCSPlayerPawn that most recently owned this weapon before it was dropped.
0xde0m_nDropTickGameTick_tCCSWeaponBaseServer tick on which the weapon was most recently dropped.
0xde4m_bWasActiveWeaponWhenDroppedboolCCSWeaponBaseTrue if the weapon was the active weapon at the moment it was dropped.
0xe04m_donatedboolCCSWeaponBase
0xe08m_fLastShotTimeGameTime_tCCSWeaponBaseGameTime of the most recent shot fired from this weapon.
0xe0cm_bWasOwnedByCTboolCCSWeaponBase
0xe0dm_bWasOwnedByTerroristboolCCSWeaponBase
0xe10m_numRemoveUnownedWeaponThinkint32CCSWeaponBase
0xe70m_IronSightControllerCIronSightControllerCCSWeaponBase
0xe88m_iIronSightModeint32CCSWeaponBaseIron-sight zoom state (0 = none, 1 = iron-sighted).
0xe8cm_flLastLOSTraceFailureTimeGameTime_tCCSWeaponBase
0xe90m_flWatTickOffsetfloat32CCSWeaponBase
0xea0m_flLastShakeTimeGameTime_tCCSWeaponBase
0x1050m_zoomLevelint32CCSWeaponBaseGunCurrent scope zoom level (0 = unscoped).
0x1054m_iBurstShotsRemainingint32CCSWeaponBaseGunShots left in the current burst, for burst-fire weapons.
0x1060m_silencedModelIndexint32CCSWeaponBaseGunModel index used while the silencer is attached.
0x1064m_inPrecacheboolCCSWeaponBaseGun
0x1065m_bNeedsBoltActionboolCCSWeaponBaseGun
0x1068m_nRevolverCylinderIdxint32CCSWeaponBaseGun
0x106cm_bSkillReloadAvailableboolCCSWeaponBaseGun
0x106dm_bSkillReloadLiftedReloadKeyboolCCSWeaponBaseGun
0x106em_bSkillBoltInterruptAvailableboolCCSWeaponBaseGun
0x106fm_bSkillBoltLiftedFireKeyboolCCSWeaponBaseGun

Also inherits: IHasAttributes. The artifact does not record where a non-primary base sits inside the object, so those fields are not placed in the table above.