Protected
_demoServer class ID.
Entity is scheduled for removal this tick.
Entity index.
Serial number.
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.
Is the game currently in 'warmup' mode?
'first', 'second', 'halftime' or 'postgame'
Use GameRules#roundsPlayed
instead.
This value is incremented when the scores are updated at round end.
If you need to keep track of the current round number, store this value
at each round_start
.
Total number of rounds played.
Get the serverclass associated with this entity.
Object representing the entity's class
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 the game rules.