Entity systemClasses
CBot
Schema class CBot.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CBot.h
Fields
| Field | Type |
|---|---|
m_pController | CCSPlayerController* |
m_pPlayer | CCSPlayerPawn* |
m_bHasSpawned | bool |
m_id | uint32_t |
m_isRunning | bool |
m_isCrouching | bool |
m_forwardSpeed | float |
m_leftSpeed | float |
m_verticalSpeed | float |
m_buttonFlags | uint64_t |
m_jumpTimestamp | float |
m_viewForward | Vector |
m_postureStackIndex | int32_t |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).