Entity systemClasses

CBaseButton

Schema class CBaseButton, derived from CBaseToggle.

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

Inherits CBaseToggle

Fields

FieldType
m_angMoveEntitySpaceQAngle
m_fStayPushedbool
m_fRotatingbool
m_lslocksound_t
m_sUseSoundCGameSoundEventName
m_sLockedSoundCGameSoundEventName
m_sUnlockedSoundCGameSoundEventName
m_sOverrideAnticipationNameCUtlSymbolLarge
m_bLockedbool
m_bDisabledbool
m_flSpeedfloat
m_flUseLockedTimefloat
m_bSolidBspbool
m_OnDamagedCEntityIOOutput
m_OnPressedCEntityIOOutput
m_OnUseLockedCEntityIOOutput
m_OnInCEntityIOOutput
m_OnOutCEntityIOOutput
m_nStateint32_t
m_hConstraintCEntityHandle
m_hConstraintParentCEntityHandle
m_bForceNpcExcludebool
m_sGlowEntityCUtlSymbolLarge
m_glowEntityCHandle<CBaseModelEntity>
m_usablebool
m_szDisplayTextCUtlSymbolLarge

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