CTeamTrainWatcher: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
Tracks the payload progress and displays it on the HUD.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/team_train_watcher.h /game/server/team_train_watcher.h]'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/team_train_watcher team_train_watcher]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CTeamTrainWatcher'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTeamTrainWatcher
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_flTotalProgress'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iTrainSpeedLevel'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRecedeTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nNumCappers'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hGlowEnt'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTeamTrainWatcher
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''InputDisable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputOnStartOvertime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputRoundActivate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetNumTrainCappers'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetSpeedForwardModifier'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetTrainCanRecede'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetTrainRecedeTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetTrainRecedeTimeAndUpdate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnTrainStartRecede'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHandleTrainMovement'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bTrainCanRecede'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpeedForwardModifier'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpeedLevels[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpeedLevels[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpeedLevels[2]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszGoalNode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[2]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[3]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[4]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[5]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[6]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedCPs[7]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[2]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[3]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[4]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[5]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[6]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszLinkedPathTracks[7]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszSparkName'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszStartNode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszTrain'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nTrainRecedeTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 16:33, 9 March 2023

Overview[edit | edit source]

Tracks the payload progress and displays it on the HUD.

Source location : /game/server/team_train_watcher.h

Linked Entity : team_train_watcher

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTeamTrainWatcher
Name Type Description
m_flTotalProgress Float
m_iTrainSpeedLevel Integer
m_flRecedeTime Float
m_nNumCappers Integer
m_hGlowEnt Integer

Entity DataMaps[edit | edit source]

CTeamTrainWatcher
Name Type Description
InputDisable
InputEnable
InputOnStartOvertime
InputRoundActivate
InputSetNumTrainCappers
InputSetSpeedForwardModifier
InputSetTrainCanRecede
InputSetTrainRecedeTime
InputSetTrainRecedeTimeAndUpdate
m_OnTrainStartRecede
m_bDisabled
m_bHandleTrainMovement
m_bTrainCanRecede
m_flSpeedForwardModifier
m_flSpeedLevels[0]
m_flSpeedLevels[1]
m_flSpeedLevels[2]
m_iszGoalNode
m_iszLinkedCPs[0]
m_iszLinkedCPs[1]
m_iszLinkedCPs[2]
m_iszLinkedCPs[3]
m_iszLinkedCPs[4]
m_iszLinkedCPs[5]
m_iszLinkedCPs[6]
m_iszLinkedCPs[7]
m_iszLinkedPathTracks[0]
m_iszLinkedPathTracks[1]
m_iszLinkedPathTracks[2]
m_iszLinkedPathTracks[3]
m_iszLinkedPathTracks[4]
m_iszLinkedPathTracks[5]
m_iszLinkedPathTracks[6]
m_iszLinkedPathTracks[7]
m_iszSparkName
m_iszStartNode
m_iszTrain
m_nTrainRecedeTime