CMathCounter: 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 ==
...
Stores an integer value which can be modified with elementary operators (+ - / *).


'''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]]'''
****'''CMathCounter'''
****'''CMathCounter'''
== Entity DataMaps  ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CMathCounter
! 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%;" |'''InputAdd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputDisable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputDivide'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputGetValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputMultiply'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetHitMax'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetHitMin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetValueNoFire'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSubtract'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnGetValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnHitMax'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnHitMin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OutValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHitMax'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHitMin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMax'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMin'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 17:58, 10 July 2022

Overview[edit | edit source]

Stores an integer value which can be modified with elementary operators (+ - / *).

Source location : /game/server/logicentities.cpp

Linked Entity : math_counter

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CMathCounter
Name Type Description
InputAdd
InputDisable
InputDivide
InputEnable
InputGetValue
InputMultiply
InputSetHitMax
InputSetHitMin
InputSetValue
InputSetValueNoFire
InputSubtract
m_OnGetValue
m_OnHitMax
m_OnHitMin
m_OutValue
m_bDisabled
m_bHitMax
m_bHitMin
m_flMax
m_flMin