Entity systemClasses
CFuncTrackTrain
Schema class CFuncTrackTrain, derived from CBaseModelEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CFuncTrackTrain.h
Inherits CBaseModelEntity
Fields
| Field | Type |
|---|---|
m_ppath | CHandle<CPathTrack> |
m_length | float |
m_vPosPrev | Vector |
m_angPrev | QAngle |
m_flSpeed | float |
m_controlMins | Vector |
m_controlMaxs | Vector |
m_lastBlockPos | Vector |
m_lastBlockTick | int32_t |
m_flVolume | float |
m_flBank | float |
m_oldSpeed | float |
m_flBlockDamage | float |
m_height | float |
m_maxSpeed | float |
m_dir | float |
m_iszSoundMove | CGameSoundEventName |
m_iszSoundMovePing | CGameSoundEventName |
m_iszSoundStart | CGameSoundEventName |
m_iszSoundStop | CGameSoundEventName |
m_strPathTarget | CGameSoundEventName |
m_flMoveSoundMinDuration | float |
m_flMoveSoundMaxDuration | float |
m_flNextMoveSoundTime | float |
m_flMoveSoundMinPitch | float |
m_flMoveSoundMaxPitch | float |
m_eOrientationType | TrainOrientationType_t |
m_eVelocityType | TrainVelocityType_t |
m_OnStart | CEntityIOOutput |
m_OnNext | CEntityIOOutput |
m_OnArrivedAtDestinationNode | CEntityIOOutput |
m_bManualSpeedChanges | bool |
m_flDesiredSpeed | float |
m_flSpeedChangeTime | float |
m_flAccelSpeed | float |
m_flDecelSpeed | float |
m_bAccelToSpeed | bool |
m_flNextMPSoundTime | float |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).