CLogicCompareInteger: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicentities.cpp /game/server/logicentities.cpp]''' '''...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Accepts input integers into it's non reset-able internal list of values and compares all of them to determine whether they are equal or not.


'''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]'''
Line 11: Line 11:
***'''[[CLogicalEntity]]'''
***'''[[CLogicalEntity]]'''
****'''CLogicCompareInteger'''
****'''CLogicCompareInteger'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CLogicCompareInteger
! 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%;" |'''InputCompareValues'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_AllIntCompares'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnEqual'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnNotEqual'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iIntegerValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iShouldCompareToValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 17:34, 10 July 2022

Overview[edit | edit source]

Accepts input integers into it's non reset-able internal list of values and compares all of them to determine whether they are equal or not.

Source location : /game/server/logicentities.cpp

Linked Entity : logic_multicompare

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CLogicCompareInteger
Name Type Description
InputCompareValues
InputValue
m_AllIntCompares
m_OnEqual
m_OnNotEqual
m_iIntegerValue
m_iShouldCompareToValue