Entity systemClasses

CCSWeaponBase

Schema class CCSWeaponBase, derived from CBasePlayerWeapon.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CCSWeaponBase.h

Inherits CBasePlayerWeapon

Fields

FieldType
m_bRemoveablebool
m_bPlayerAmmoStockOnPickupbool
m_bRequireUseToTouchbool
m_iWeaponGameplayAnimStateWeaponGameplayAnimState
m_flWeaponGameplayAnimStateTimestampfloat
m_flInspectCancelCompleteTimefloat
m_bInspectPendingbool
m_bInspectShouldLoopbool
m_nLastEmptySoundCmdNumint32_t
m_bFireOnEmptybool
m_OnPlayerPickupCEntityIOOutput
m_weaponModeCSWeaponMode
m_flTurningInaccuracyDeltafloat
m_vecTurningInaccuracyEyeDirLastVector
m_flTurningInaccuracyfloat
m_fAccuracyPenaltyfloat
m_flLastAccuracyUpdateTimefloat
m_fAccuracySmoothedForZoomfloat
m_iRecoilIndexint32_t
m_flRecoilIndexfloat
m_bBurstModebool
m_nPostponeFireReadyTicksint32_t
m_flPostponeFireReadyFracfloat
m_bInReloadbool
m_nDeployTickint32_t
m_flDroppedAtTimefloat
m_bIsHauledBackbool
m_bSilencerOnbool
m_flTimeSilencerSwitchCompletefloat
m_bStealthybool
m_bInSilentReloadSectionbool
m_bSilentReloadStatCountedbool
m_bSilentReloadStatPendingbool
m_flStealthHoldStartTimefloat
m_bReloadHeldSinceStartbool
m_flWeaponActionPlaybackRatefloat
m_iOriginalTeamNumberint32_t
m_iMostRecentTeamNumberint32_t
m_bDroppedNearBuyZonebool
m_flNextAttackRenderTimeOffsetfloat
m_bCanBePickedUpbool
m_bUseCanOverrideNextOwnerTouchTimebool
m_nextOwnerTouchTimefloat
m_nextPrevOwnerTouchTimefloat
m_nextPrevOwnerUseTimefloat
m_hPrevOwnerCHandle<CCSPlayerPawn>
m_nDropTickint32_t
m_bWasActiveWeaponWhenDroppedbool
m_donatedbool
m_fLastShotTimefloat
m_bWasOwnedByCTbool
m_bWasOwnedByTerroristbool
m_numRemoveUnownedWeaponThinkint32_t
m_IronSightControllerCIronSightController
m_iIronSightModeint32_t
m_flLastLOSTraceFailureTimefloat
m_flWatTickOffsetfloat
m_flLastShakeTimefloat

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page