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
| Field | Type |
|---|---|
m_angMoveEntitySpace | QAngle |
m_fStayPushed | bool |
m_fRotating | bool |
m_ls | locksound_t |
m_sUseSound | CGameSoundEventName |
m_sLockedSound | CGameSoundEventName |
m_sUnlockedSound | CGameSoundEventName |
m_sOverrideAnticipationName | CUtlSymbolLarge |
m_bLocked | bool |
m_bDisabled | bool |
m_flSpeed | float |
m_flUseLockedTime | float |
m_bSolidBsp | bool |
m_OnDamaged | CEntityIOOutput |
m_OnPressed | CEntityIOOutput |
m_OnUseLocked | CEntityIOOutput |
m_OnIn | CEntityIOOutput |
m_OnOut | CEntityIOOutput |
m_nState | int32_t |
m_hConstraint | CEntityHandle |
m_hConstraintParent | CEntityHandle |
m_bForceNpcExclude | bool |
m_sGlowEntity | CUtlSymbolLarge |
m_glowEntity | CHandle<CBaseModelEntity> |
m_usable | bool |
m_szDisplayText | CUtlSymbolLarge |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).