CCPTimerLogic: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]''' '''...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
A timer attached to a control point which begins when it is available for capture. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]''' | ||
Line 10: | Line 10: | ||
**'''[[CPointEntity]]''' | **'''[[CPointEntity]]''' | ||
***'''CCPTimerLogic''' | ***'''CCPTimerLogic''' | ||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CCPTimerLogic | |||
! 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%;" |'''InputRoundSpawn''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iszControlPointName''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nTimerLength''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nTimerTeam''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_onCountdown10SecRemain''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_onCountdown15SecRemain''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_onCountdown5SecRemain''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_onCountdownEnd''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_onCountdownStart''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Latest revision as of 08:51, 8 March 2023
Overview[edit | edit source]
A timer attached to a control point which begins when it is available for capture.
Source location : /game/shared/tf/tf_gamerules.h
Linked Entity : tf_logic_cp_timer
Class Structure[edit | edit source]
- CBaseEntity
- CPointEntity
- CCPTimerLogic
- CPointEntity
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
InputRoundSpawn | ||
m_iszControlPointName | ||
m_nTimerLength | ||
m_nTimerTeam | ||
m_onCountdown10SecRemain | ||
m_onCountdown15SecRemain | ||
m_onCountdown5SecRemain | ||
m_onCountdownEnd | ||
m_onCountdownStart |