Entity systemClasses
CFuncTrain
Schema class CFuncTrain, derived from CBasePlatTrain.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CFuncTrain.h
Inherits CBasePlatTrain
Fields
| Field | Type |
|---|---|
m_hCurrentTarget | CHandle<CBaseEntity> |
m_activated | bool |
m_hEnemy | CHandle<CBaseEntity> |
m_flBlockDamage | float |
m_flNextBlockTime | float |
m_iszLastTarget | CUtlSymbolLarge |
m_flSpeed | float |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).