CLogicActiveAutosave: 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 ==
...
Used to actively look for opportunities to autosave. Useless in multiplayer.


'''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 12: Line 12:
****'''[[CLogicAutosave]]'''
****'''[[CLogicAutosave]]'''
*****'''CLogicActiveAutosave'''
*****'''CLogicActiveAutosave'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CLogicActiveAutosave
! 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%;" |'''CLogicActiveAutosaveSaveThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputDisable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_TriggerHitPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDangerousTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flStartTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTimeToTrigger'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 16:30, 10 July 2022

Overview[edit | edit source]

Used to actively look for opportunities to autosave. Useless in multiplayer.

Source location : /game/server/logicentities.cpp

Linked Entity : logic_active_autosave

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CLogicActiveAutosave
Name Type Description
CLogicActiveAutosaveSaveThink
InputDisable
InputEnable
m_TriggerHitPoints
m_flDangerousTime
m_flStartTime
m_flTimeToTrigger