CEnvShake: 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/EnvShake.cpp /game/server/EnvShake.cpp]''' '''Linked Ent...")
 
No edit summary
 
Line 10: Line 10:
**'''[[CPointEntity]]'''
**'''[[CPointEntity]]'''
***'''CEnvShake'''
***'''CEnvShake'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CEnvShake
! 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%;" |'''InputAmplitude'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputFrequency'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputStartShake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputStopShake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Amplitude'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Duration'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Frequency'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Radius'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_currentAmp'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_maxForce'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nextShake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pShakeController'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_shakeCallback
|-
| style="width: 50%;" |'''m_force'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_stopTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 18:32, 26 March 2022

Overview[edit | edit source]

...

Source location : /game/server/EnvShake.cpp

Linked Entity : env_shake

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CEnvShake
Name Type Description
InputAmplitude
InputFrequency
InputStartShake
InputStopShake
m_Amplitude
m_Duration
m_Frequency
m_Radius
m_currentAmp
m_maxForce
m_nextShake
m_pShakeController
m_shakeCallback
m_force
m_stopTime