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

FieldType
m_hCurrentTargetCHandle<CBaseEntity>
m_activatedbool
m_hEnemyCHandle<CBaseEntity>
m_flBlockDamagefloat
m_flNextBlockTimefloat
m_iszLastTargetCUtlSymbolLarge
m_flSpeedfloat

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