Protected
_demoServer class ID.
Entity is scheduled for removal this tick.
Entity index.
Serial number.
Entity class name of the weapon (e.g. "weapon_ak47")
Amount of ammo in the clip of the weapon
Number uniquely identifying this entity. Should be unique throughout the entire demo.
True if this entity is out of the PVS. Always false on GOTV demos as all entities are always in the PVS.
Item definition index
Name of the weapon (e.g. "Five-SeveN")
Name of the model that should be rendered for this entity. (e.g. 'models/Weapons/w_eq_smokegrenade_thrown.mdl')
Entity which this entity is moving with, if any
The amount of ammo the owner holds for this weapon. Null if no owner.
Quality of the item.
The amount ammo this weapon has in reserve
Get the serverclass associated with this entity.
Object representing the entity's class
Team number (0: Unassigned, 1: Spectator, 2: Terrorist, 3: Counter-Terrorist)
Interpret an array-like data table (e.g., m_iAmmo) as an array
Name of the data table
Retrieves the value of a networked property
Property value, undefined
if non-existent
Table name (e.g., DT_BaseEntity)
Network variable name (e.g., m_vecOrigin)
Update the value of a prop
Name of the data table
Name of the prop to update
New prop value
Generated using TypeDoc
Represents an in-game weapon (guns, grenades, knifes).