CTrainingModeLogic: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
Handles logic for training mode; the entity does not function properly in multiplayer.


'''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]'''

Latest revision as of 16:01, 10 July 2022

Overview[edit | edit source]

Handles logic for training mode; the entity does not function properly in multiplayer.

Source location : /game/shared/tf/tf_gamerules.h

Linked Entity : tf_logic_training_mode

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CTrainingModeLogic
Name Type Description
InputEndTraining
InputForcePlayerSpawnAsClassOutput
InputForcePlayerSwapToWeapon
InputHideTrainingHUD
InputKickAllBots
InputPlaySoundOnPlayer
InputSetNextMap
InputShowTrainingHUD
InputShowTrainingMsg
InputShowTrainingObjective
InputWaitForTimerOrKeypress
m_nextMapName
m_outputOnBotDied
m_outputOnPlayerBuiltOutsideSuggestedArea
m_outputOnPlayerDetonateBuilding
m_outputOnPlayerDied
m_outputOnPlayerSpawnAsDemoman
m_outputOnPlayerSpawnAsEngineer
m_outputOnPlayerSpawnAsHeavy
m_outputOnPlayerSpawnAsMedic
m_outputOnPlayerSpawnAsPyro
m_outputOnPlayerSpawnAsScout
m_outputOnPlayerSpawnAsSniper
m_outputOnPlayerSpawnAsSoldier
m_outputOnPlayerSpawnAsSpy
m_outputOnPlayerSwappedToWeaponSlotBuilding
m_outputOnPlayerSwappedToWeaponSlotMelee
m_outputOnPlayerSwappedToWeaponSlotPDA
m_outputOnPlayerSwappedToWeaponSlotPrimary
m_outputOnPlayerSwappedToWeaponSlotSecondary