CBaseCombatWeapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 88: | Line 88: | ||
|- | |- | ||
| style="width: 50%;" |'''m_hOwner''' | | style="width: 50%;" |'''m_hOwner''' | ||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nCustomViewmodelModelIndex''' | |||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" | | | style="width: 35%;" | |
Revision as of 09:25, 8 March 2023
Overview
The base class for usable weapons.
Source location : /game/shared/basecombatweapon_shared.h
Class Structure
- CBaseEntity
- CBaseAnimating
- CEconEntity
- CBaseCombatWeapon
- CEconEntity
- CBaseAnimating
SendProps
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
m_iViewModelIndex | Integer | |||||||||||||||||||||||||
m_iWorldModelIndex | Integer | |||||||||||||||||||||||||
m_iState | Integer | |||||||||||||||||||||||||
m_hOwner | Integer | |||||||||||||||||||||||||
m_nCustomViewmodelModelIndex | Integer |
Entity DataMaps
Name | Type | Description |
---|---|---|
CBaseCombatWeaponAttemptToMaterialize | ||
CBaseCombatWeaponDefaultTouch | ||
CBaseCombatWeaponDestroyItem | ||
CBaseCombatWeaponFallThink | ||
CBaseCombatWeaponHideThink | ||
CBaseCombatWeaponMaterialize | ||
CBaseCombatWeaponSetPickupTouch | ||
InputHideWeapon | ||
m_IdealActivity | ||
m_OnCacheInteraction | ||
m_OnNPCPickup | ||
m_OnPlayerPickup | ||
m_OnPlayerUse | ||
m_bAltFireHudHintDisplayed | ||
m_bAltFiresUnderwater | ||
m_bFireOnEmpty | ||
m_bFiresUnderwater | ||
m_bInReload | ||
m_bReloadHudHintDisplayed | ||
m_bReloadsSingly | ||
m_bRemoveable | ||
m_fFireDuration | ||
m_fMaxRange1 | ||
m_fMaxRange2 | ||
m_fMinRange1 | ||
m_fMinRange2 | ||
m_flHudHintMinDisplayTime | ||
m_flHudHintPollTime | ||
m_flNextPrimaryAttack | ||
m_flNextSecondaryAttack | ||
m_flTimeWeaponIdle | ||
m_flUnlockTime | ||
m_hLocker | ||
m_hOwner | ||
m_iAltFireHudHintCount | ||
m_iClip1 | ||
m_iClip2 | ||
m_iPrimaryAmmoCount | ||
m_iPrimaryAmmoType | ||
m_iReloadHudHintCount | ||
m_iSecondaryAmmoCount | ||
m_iSecondaryAmmoType | ||
m_iState | ||
m_iSubType | ||
m_iszName | ||
m_nIdealSequence | ||
m_nViewModelIndex | ||
m_pConstraint |