CLogicAutosave: 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 force an autosave for the player. 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 11: Line 11:
***'''[[CLogicalEntity]]'''
***'''[[CLogicalEntity]]'''
****'''CLogicAutosave'''
****'''CLogicAutosave'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CLogicAutosave
! 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%;" |'''InputSave'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSaveDangerous'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetMinHitpointsThreshold'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bForceNewLevelUnit'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_minHitPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_minHitPointsToCommit'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 16:29, 10 July 2022

Overview[edit | edit source]

Used to force an autosave for the player. Useless in multiplayer.

Source location : /game/server/logicentities.cpp

Linked Entity : logic_autosave

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CLogicAutosave
Name Type Description
InputSave
InputSaveDangerous
InputSetMinHitpointsThreshold
m_bForceNewLevelUnit
m_minHitPoints
m_minHitPointsToCommit