CLogicCompare: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
Compares an input integer to a compare integer stored in the entity and fires outputs based on the result.


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

Latest revision as of 16:55, 10 July 2022

Overview[edit | edit source]

Compares an input integer to a compare integer stored in the entity and fires outputs based on the result.

Source location : /game/server/logicentities.cpp

Linked Entity : logic_compare

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CLogicCompare
Name Type Description
InputCompare
InputSetCompareValue
InputSetValue
InputSetValueCompare
m_OnEqualTo
m_OnGreaterThan
m_OnLessThan
m_OnNotEqualTo
m_flCompareValue
m_flInValue