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

FieldType
m_ppathCHandle<CPathTrack>
m_lengthfloat
m_vPosPrevVector
m_angPrevQAngle
m_flSpeedfloat
m_controlMinsVector
m_controlMaxsVector
m_lastBlockPosVector
m_lastBlockTickint32_t
m_flVolumefloat
m_flBankfloat
m_oldSpeedfloat
m_flBlockDamagefloat
m_heightfloat
m_maxSpeedfloat
m_dirfloat
m_iszSoundMoveCGameSoundEventName
m_iszSoundMovePingCGameSoundEventName
m_iszSoundStartCGameSoundEventName
m_iszSoundStopCGameSoundEventName
m_strPathTargetCGameSoundEventName
m_flMoveSoundMinDurationfloat
m_flMoveSoundMaxDurationfloat
m_flNextMoveSoundTimefloat
m_flMoveSoundMinPitchfloat
m_flMoveSoundMaxPitchfloat
m_eOrientationTypeTrainOrientationType_t
m_eVelocityTypeTrainVelocityType_t
m_OnStartCEntityIOOutput
m_OnNextCEntityIOOutput
m_OnArrivedAtDestinationNodeCEntityIOOutput
m_bManualSpeedChangesbool
m_flDesiredSpeedfloat
m_flSpeedChangeTimefloat
m_flAccelSpeedfloat
m_flDecelSpeedfloat
m_bAccelToSpeedbool
m_flNextMPSoundTimefloat

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