CLogicAuto: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
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.
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 [https://developer.valvesoftware.com/wiki/Env_global global state] to determine if it should fire 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]'''

Revision as of 15:50, 10 April 2022

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.

Source location : /game/server/logicauto.cpp

Linked Entity : logic_auto

Class Structure

Entity DataMaps

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