Entity systemClasses
CMomentaryRotButton
Schema class CMomentaryRotButton, derived from CRotButton.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CMomentaryRotButton.h
Inherits CRotButton
Fields
| Field | Type |
|---|---|
m_OnUnpressed | CEntityIOOutput |
m_OnFullyOpen | CEntityIOOutput |
m_OnFullyClosed | CEntityIOOutput |
m_OnReachedPosition | CEntityIOOutput |
m_lastUsed | int32_t |
m_start | QAngle |
m_end | QAngle |
m_IdealYaw | float |
m_sNoise | CUtlSymbolLarge |
m_bUpdateTarget | bool |
m_direction | int32_t |
m_returnSpeed | float |
m_flStartPosition | float |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).