CBaseButton: 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/buttons.h /game/server/buttons.h]''' '''Linked Entity :...")
 
No edit summary
 
Line 10: Line 10:
**'''[[CBaseToggle]]'''
**'''[[CBaseToggle]]'''
***'''CBaseButton'''
***'''CBaseButton'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CBaseButton
! 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%;" |'''CBaseButtonButtonBackHome'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBaseButtonButtonReturn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBaseButtonButtonSpark'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBaseButtonButtonTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBaseButtonButtonUse'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBaseButtonTriggerAndWait'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputLock'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputPress'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputPressIn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputPressOut'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputUnlock'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnDamaged'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnIn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnOut'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnPressed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnUseLocked'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLocked'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLockedSentence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLockedSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bSolidBsp'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUnlockedSentence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUnlockedSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fRotating'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fStayPushed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flUseLockedTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_sNoise'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_sounds'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecMoveDir'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 22:24, 26 March 2022

Overview[edit | edit source]

...

Source location : /game/server/buttons.h

Linked Entity : func_button

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CBaseButton
Name Type Description
CBaseButtonButtonBackHome
CBaseButtonButtonReturn
CBaseButtonButtonSpark
CBaseButtonButtonTouch
CBaseButtonButtonUse
CBaseButtonTriggerAndWait
InputLock
InputPress
InputPressIn
InputPressOut
InputUnlock
m_OnDamaged
m_OnIn
m_OnOut
m_OnPressed
m_OnUseLocked
m_bLocked
m_bLockedSentence
m_bLockedSound
m_bSolidBsp
m_bUnlockedSentence
m_bUnlockedSound
m_fRotating
m_fStayPushed
m_flUseLockedTime
m_sNoise
m_sounds
m_vecMoveDir