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
| Field | Type |
|---|---|
m_bRemoveable | bool |
m_bPlayerAmmoStockOnPickup | bool |
m_bRequireUseToTouch | bool |
m_iWeaponGameplayAnimState | WeaponGameplayAnimState |
m_flWeaponGameplayAnimStateTimestamp | float |
m_flInspectCancelCompleteTime | float |
m_bInspectPending | bool |
m_bInspectShouldLoop | bool |
m_nLastEmptySoundCmdNum | int32_t |
m_bFireOnEmpty | bool |
m_OnPlayerPickup | CEntityIOOutput |
m_weaponMode | CSWeaponMode |
m_flTurningInaccuracyDelta | float |
m_vecTurningInaccuracyEyeDirLast | Vector |
m_flTurningInaccuracy | float |
m_fAccuracyPenalty | float |
m_flLastAccuracyUpdateTime | float |
m_fAccuracySmoothedForZoom | float |
m_iRecoilIndex | int32_t |
m_flRecoilIndex | float |
m_bBurstMode | bool |
m_nPostponeFireReadyTicks | int32_t |
m_flPostponeFireReadyFrac | float |
m_bInReload | bool |
m_nDeployTick | int32_t |
m_flDroppedAtTime | float |
m_bIsHauledBack | bool |
m_bSilencerOn | bool |
m_flTimeSilencerSwitchComplete | float |
m_bStealthy | bool |
m_bInSilentReloadSection | bool |
m_bSilentReloadStatCounted | bool |
m_bSilentReloadStatPending | bool |
m_flStealthHoldStartTime | float |
m_bReloadHeldSinceStart | bool |
m_flWeaponActionPlaybackRate | float |
m_iOriginalTeamNumber | int32_t |
m_iMostRecentTeamNumber | int32_t |
m_bDroppedNearBuyZone | bool |
m_flNextAttackRenderTimeOffset | float |
m_bCanBePickedUp | bool |
m_bUseCanOverrideNextOwnerTouchTime | bool |
m_nextOwnerTouchTime | float |
m_nextPrevOwnerTouchTime | float |
m_nextPrevOwnerUseTime | float |
m_hPrevOwner | CHandle<CCSPlayerPawn> |
m_nDropTick | int32_t |
m_bWasActiveWeaponWhenDropped | bool |
m_donated | bool |
m_fLastShotTime | float |
m_bWasOwnedByCT | bool |
m_bWasOwnedByTerrorist | bool |
m_numRemoveUnownedWeaponThink | int32_t |
m_IronSightController | CIronSightController |
m_iIronSightMode | int32_t |
m_flLastLOSTraceFailureTime | float |
m_flWatTickOffset | float |
m_flLastShakeTime | float |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).