CBaseCombatWeapon: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
Line 1: Line 1:
== Overview ==
...


'''Source location : ...'''
'''Linked entity : ...'''
==[[SendProps|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
|+CBaseCombatWeapon
! 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
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |LocalWeaponData
|-
| style="width: 50%;" |'''m_iClip1'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iClip2'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iPrimaryAmmoType'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iSecondaryAmmoType'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nViewModelIndex'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bFlipViewModel'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flAnimTime'''
| style="width: 15%;" |Integer
| 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" |LocalActiveWeaponData
|-
| style="width: 50%;" |'''m_flNextPrimaryAttack'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNextSecondaryAttack'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nNextThinkTick'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTimeWeaponIdle'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flAnimTime'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_iViewModelIndex'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iWorldModelIndex'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iState'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hOwner'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}

Revision as of 23:02, 2 February 2022

Overview

...

Source location : ...

Linked entity : ...

Class Structure

SendProps

CBaseCombatWeapon
Name Type Description
LocalWeaponData
m_iClip1 Integer
m_iClip2 Integer
m_iPrimaryAmmoType Integer
m_iSecondaryAmmoType Integer
m_nViewModelIndex Boolean
m_bFlipViewModel Integer
m_flAnimTime Integer
LocalActiveWeaponData
m_flNextPrimaryAttack Float
m_flNextSecondaryAttack Float
m_nNextThinkTick Integer
m_flTimeWeaponIdle Float
m_flAnimTime Integer
m_iViewModelIndex Integer
m_iWorldModelIndex Integer
m_iState Integer
m_hOwner Integer