CBaseViewModel: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
...
...


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/baseviewmodel_shared.h /game/shared/baseviewmodel_shared.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/viewmodel viewmodel]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''CBaseViewModel'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CBaseViewModel  
|+CBaseViewModel  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 80: Line 76:
| style="width: 50%;" |'''m_flPoseParameter'''
| style="width: 50%;" |'''m_flPoseParameter'''
| style="width: 15%;" |Array
| style="width: 15%;" |Array
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CBaseViewModel
! 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%;" |'''m_flTimeWeaponIdle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hOwner'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hScreens'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hWeapon'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nAnimationParity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nViewModelIndex'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecLastFacing'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 01:40, 28 March 2022

Overview[edit | edit source]

...

Source location : /game/shared/baseviewmodel_shared.h

Linked Entity : viewmodel

Class Structure[edit | edit source]

SendProps[edit | edit source]

CBaseViewModel
Name Type Description
m_nModelIndex Integer
m_nBody Integer
m_nSkin Integer
m_nSequence Integer
m_nViewModelIndex Boolean
m_flPlaybackRate Float
m_fEffects Integer
m_nAnimationParity Integer
m_hWeapon Integer
m_hOwner Integer
m_nNewSequenceParity Integer
m_nResetEventsParity Integer
m_nMuzzleFlashParity Integer
m_flPoseParameter Float
m_flPoseParameter Array

Entity DataMaps[edit | edit source]

CBaseViewModel
Name Type Description
m_flTimeWeaponIdle
m_hOwner
m_hScreens
m_hWeapon
m_nAnimationParity
m_nViewModelIndex
m_vecLastFacing