CLogicAuto: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
The entity logic_auto is an instance of this class. It fires outputs at certain times after or on map load, along with being able to check the global state to determine if it should fire outputs or not.
Fires outputs on map load, along with being able to check the [https://developer.valvesoftware.com/wiki/Env_global global state] to determine if it should fire those outputs or not.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicauto.cpp /game/server/logicauto.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicauto.cpp /game/server/logicauto.cpp]'''

Latest revision as of 18:41, 1 May 2022

Overview[edit | edit source]

Fires outputs on map load, along with being able to check the global state to determine if it should fire those outputs or not.

Source location : /game/server/logicauto.cpp

Linked Entity : logic_auto

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CLogicAuto
Name Type Description
m_OnBackgroundMap
m_OnLoadGame
m_OnMapSpawn
m_OnMapTransition
m_OnMultiNewMap
m_OnMultiNewRound
m_OnNewGame
m_globalstate