Entity systemClasses
CBasePlayerWeaponVData
Schema class CBasePlayerWeaponVData, derived from CEntitySubclassVDataBase.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CBasePlayerWeaponVData.h
Inherits CEntitySubclassVDataBase
Fields
| Field | Type |
|---|---|
m_bBuiltRightHanded | bool |
m_bAllowFlipping | bool |
m_szMuzzleFlashParticleConfig | CUtlString |
m_nMuzzleSmokeShotThreshold | uint8_t |
m_flMuzzleSmokeTimeout | float |
m_flMuzzleSmokeDecrementRate | float |
m_bGenerateMuzzleLight | bool |
m_bShouldAnimateInWorld | bool |
m_bLinkedCooldowns | bool |
m_iFlags | ItemFlagTypes_t |
m_iWeight | int32_t |
m_bAutoSwitchTo | bool |
m_bAutoSwitchFrom | bool |
m_nPrimaryAmmoType | uint8_t |
m_nSecondaryAmmoType | uint8_t |
m_iMaxClip1 | int32_t |
m_iMaxClip2 | int32_t |
m_iDefaultClip1 | int32_t |
m_iDefaultClip2 | int32_t |
m_bReserveAmmoAsClips | bool |
m_bTreatAsSingleClip | bool |
m_bKeepLoadedAmmo | bool |
m_iRumbleEffect | RumbleEffect_t |
m_flDropSpeed | float |
m_iSlot | int32_t |
m_iPosition | int32_t |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).