CBaseCombatCharacter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
|'''m_bGlowEnabled''' | |'''m_bGlowEnabled''' | ||
|Boolean | |Boolean | ||
| | |Whether or not to render a team colored outline around this entity. | ||
|- | |- | ||
| colspan="3" style="padding: 0; margin: 0;" | | | colspan="3" style="padding: 0; margin: 0;" | | ||
| Line 28: | Line 28: | ||
| style="width: 50%;" |'''m_flNextAttack''' | | style="width: 50%;" |'''m_flNextAttack''' | ||
| style="width: 15%;" |Float | | style="width: 15%;" |Float | ||
| style="width: 35%;" | | | style="width: 35%;" |A timestamp for when this entity is ready to attack. (Weapon switches modify this time.) | ||
|} | |} | ||
|- | |- | ||
Revision as of 21:08, 10 April 2022
Overview
Contains functionality common between NPCs and players.
Source Location : /game/server/basecombatcharacter.h
Class Structure
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CBaseFlex
- CBaseCombatCharacter
- CBaseFlex
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_bGlowEnabled | Boolean | Whether or not to render a team colored outline around this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hActiveWeapon | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Entity DataMaps
| Name | Type | Description |
|---|---|---|
| InputKilledNPC | ||
| m_CurrentWeaponProficiency | ||
| m_HackedGunPos | ||
| m_LastHitGroup | ||
| m_Relationship | ||
| m_RelationshipString | ||
| m_bForceServerRagdoll | ||
| m_bPreventWeaponPickup | ||
| m_bloodColor | ||
| m_eHull | ||
| m_flDamageAccumulator | ||
| m_flFieldOfView | ||
| m_flNextAttack | ||
| m_hActiveWeapon | ||
| m_hMyWeapons | ||
| m_iAmmo | ||
| m_iDamageCount | ||
| m_impactEnergyScale |