Properties that are accessible at a global level.
Namespace | Declaration | Description |
---|---|---|
<Global> | const float WORLD_BOUNDARY | Distance from the world origin to the world boundary in a single axis |
String | const CompareType DEFAULT_COMPARE | Default comparison type. |
String | const string EMPTY_STRING | Empty string. Useful when a reference to a string is needed. |
String | const string WHITESPACE_CHARACTERS | A string that contains one instance of every whitespace character. |
String | const size_t INVALID_INDEX | Sentinel value used by string methods. |
String | const size_t NO_MORE_TOKENS | Sentinel value used by string tokenization when there are no tokens remaining. |
Reflection | CReflection g_Reflection | Reflection global class instance. |
<Global> | CVirtualFileSystem g_FileSystem | Global file system instance |
<Global> | CDebugger g_Debugger | Debugger instance. |
<Global> | const Vector g_vecZero | Zero vector (0, 0, 0) |
<Global> | CMath Math | Math functions instance |
<Global> | const float VIEW_FIELD_FULL | Full view field |
<Global> | const float VIEW_FIELD_WIDE | Wide view field |
<Global> | const float VIEW_FIELD_NARROW | Narrow view field |
<Global> | const float VIEW_FIELD_ULTRA_NARROW | Ultra narrow view field |
<Global> | CDecals g_Decals | Dynamic decal manager instance |
<Global> | CActivityMap g_ActivityMap | Activity map instance |
Schedules | Schedule slIdleStand | |
Schedules | Schedule slIdleTrigger | |
Schedules | Schedule slIdleWalk | |
Schedules | Schedule slWakeAngry | |
Schedules | Schedule slAlertFace | |
Schedules | Schedule slAlertStand | |
Schedules | Schedule slCombatStand | |
Schedules | Schedule slCombatFace | |
Schedules | Schedule slReload | |
Schedules | Schedule slRangeAttack1 | |
Schedules | Schedule slRangeAttack2 | |
Schedules | Schedule slChaseEnemy | |
Schedules | Schedule slSmallFlinch | |
Schedules | Schedule slDie | |
Schedules | Schedule slError | |
Schedules | Schedule slWalkToScript | |
Schedules | Schedule slRunToScript | |
Schedules | Schedule slWaitScript | |
Schedules | Schedule slTakeCoverFromBestSound | |
Schedules | Schedule slFail | |
<Global> | const size_t MAX_OLD_ENEMIES | How many old enemies to remember |
<Global> | const size_t ROUTE_SIZE | How many waypoints a monster can store at one time |
<Global> | const Vector VEC_HULL_MIN | Default hull minimum. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_HULL_MAX | Default hull maximum. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_HUMAN_HULL_MIN | Default human hull maximum. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_HUMAN_HULL_MAX | Default human hull maximum while standing. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_HUMAN_HULL_DUCK | Default human hull maximum while ducking. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_VIEW | View offset. |
<Global> | const Vector VEC_DUCK_HULL_MIN | Hull minimum while ducking. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_DUCK_HULL_MAX | Hull maximum while ducking. Used with CEntityFuncs::SetSize |
<Global> | const Vector VEC_DUCK_VIEW | Hull view offset while ducking. |
<Global> | const size_t MAX_AMMO_TYPES | Maximum number of ammo types |
<Global> | const size_t MAX_ITEM_TYPES | HUD item selection slots |
<Global> | const float AUTOAIM_2DEGREES | Autoaim |
<Global> | const float AUTOAIM_5DEGREES | Autoaim |
<Global> | const float AUTOAIM_8DEGREES | Autoaim |
<Global> | const float AUTOAIM_10DEGREES | Autoaim |
<Global> | const float PLAYERCOMMAND_WAIT | Time between player vocal client commands |
<Global> | CEngineFuncs g_EngineFuncs | Engine functions instance |
<Global> | CModelFuncs g_ModelFuncs | Model functions instance |
<Global> | const size_t MAX_WORLD_SOUNDS | maximum number of sounds handled by the world at one time. See CSoundEnt. |
<Global> | const int SOUNDLIST_EMPTY | Indicates that the sound list is empty. See CSoundEnt. |
<Global> | const int SOUNDLISTTYPE_FREE | Identifiers passed to functions that can operate on either list, to indicate which list to operate on. See CSoundEnt. |
<Global> | const int SOUNDLISTTYPE_ACTIVE | Identifiers passed to functions that can operate on either list, to indicate which list to operate on. See CSoundEnt. |
<Global> | const int SOUND_NEVER_EXPIRE | With this set as a sound's ExpireTime, the sound will never expire. See CSoundEnt. |
<Global> | CInventoryMisc g_InventoryMisc | Inventory misc functions instance |
<Global> | const int LOUD_GUN_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const int NORMAL_GUN_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const int QUIET_GUN_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const int BRIGHT_GUN_FLASH | Value used in CBasePlayer::m_iWeaponFlash |
<Global> | const int NORMAL_GUN_FLASH | Value used in CBasePlayer::m_iWeaponFlash |
<Global> | const int DIM_GUN_FLASH | Value used in CBasePlayer::m_iWeaponFlash |
<Global> | const int BIG_EXPLOSION_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const int NORMAL_EXPLOSION_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const int SMALL_EXPLOSION_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const int WEAPON_ACTIVITY_VOLUME | Parameter for CSoundEnt::InsertSound iVolume |
<Global> | const Vector VECTOR_CONE_1DEGREES | |
<Global> | const Vector VECTOR_CONE_2DEGREES | |
<Global> | const Vector VECTOR_CONE_3DEGREES | |
<Global> | const Vector VECTOR_CONE_4DEGREES | |
<Global> | const Vector VECTOR_CONE_5DEGREES | |
<Global> | const Vector VECTOR_CONE_6DEGREES | |
<Global> | const Vector VECTOR_CONE_7DEGREES | |
<Global> | const Vector VECTOR_CONE_8DEGREES | |
<Global> | const Vector VECTOR_CONE_9DEGREES | |
<Global> | const Vector VECTOR_CONE_10DEGREES | |
<Global> | const Vector VECTOR_CONE_15DEGREES | |
<Global> | const Vector VECTOR_CONE_20DEGREES | |
<Global> | const int WEAPON_NOCLIP | Used for clips that don't use ammo. |
<Global> | CItemRegistry g_ItemRegistry | Item registry global instance. |
<Global> | CEntityLoader g_EntityLoader | Entity loader global instance |
<Global> | CCustomEntityFuncs g_CustomEntityFuncs | Custom entity functions global instance. |
<Global> | CUtility g_Utility | Utility methods instance |
<Global> | CGame g_Game | Game functions instance |
<Global> | const float ATTN_NONE | |
<Global> | const float ATTN_NORM | |
<Global> | const float ATTN_IDLE | |
<Global> | const float ATTN_STATIC | |
<Global> | const float VOL_NORM | Volume value normal |
<Global> | CSoundEngine g_SoundSystem | Sound engine instance |
<Global> | CEngine g_Engine | Engine global variables instance |
<Global> | const uint FTRACE_SIMPLEBOX | Goes into g_Engine.trace_flags Traceline with a simple box |
<Global> | CEntityFuncs g_EntityFuncs | Global entity functions instance |
<Global> | const RGBA RGBA_WHITE | White |
<Global> | const RGBA RGBA_BLACK | Black |
<Global> | const RGBA RGBA_RED | Red |
<Global> | const RGBA RGBA_GREEN | Green |
<Global> | const RGBA RGBA_BLUE | Blue |
<Global> | const RGBA RGBA_YELLOW | Yellow |
<Global> | const RGBA RGBA_ORANGE | Orange |
<Global> | const RGBA RGBA_SVENCOOP | Sven Co-op HUD color |
<Global> | CPlayerFuncs g_PlayerFuncs | Global player functions instance |
<Global> | CWeaponFuncs g_WeaponFuncs | Weapon functions global instance. |
<Global> | CGlobalState g_GlobalState | Global state manager instance |
<Global> | CAngelscript g_Angelscript | Angelscript debugging functions instance |
<Global> | CMapCycle g_MapCycle | Map cycle manager instance |
<Global> | CMap g_Map | Map state variables instance |
<Global> | CPluginManager g_PluginManager | Plugin manager global instance. |
<Global> | CStartInventory g_StartInventory | Player start inventory manager instance |
<Global> | CTextMenus g_TextMenus | Text menu manager global instance |
<Global> | CAdminControl g_AdminControl | CAdminControl instance for plugins |
<Global> | CLog g_Log | Log global instance |
<Global> | CConCommandSystem g_ConCommandSystem | CConCommandSystem global instance |
<Global> | CClassicMode g_ClassicMode | Classic Mode global instance. |
<Global> | CSurvivalMode g_SurvivalMode | Survival Mode global instance. |
Hooks::Weapon | const uint32 WeaponTertiaryAttack | Called when a player fires a weapon's tertiary attack. |
Hooks::Weapon | const uint32 WeaponSecondaryAttack | Called when a player fires a weapon's secondary attack. |
Hooks::Weapon | const uint32 WeaponPrimaryAttack | Called when a player fires a weapon's primary attack. |
Hooks::Player | const uint32 PlayerPreDecal | Called when a player attempts to spraypaint a decal onto a surface. The given trace result contains the surface information. Set bResult to false if the player shouldn't be able to spray. |
Hooks::Player | const uint32 PlayerDecal | Called when a player is spraypainting a decal onto a surface. The given trace result contains the surface information. |
Hooks::Player | const uint32 GetPlayerSpawnSpot | Called when a player is about to get a spawn point before (re)spawning. |
Hooks::Player | const uint32 PlayerPostThink | Called when the player is processing post think events. |
Hooks::Player | const uint32 PlayerPreThink | Called when the player is processing pre think events. |
Hooks::Player | const uint32 PlayerUse | Called when the game is processing player use input. Note that this occurs even if the player has not pressed their use key. |
Hooks::Player | const uint32 PlayerLeftObserver | Called when a player leaves observer mode. |
Hooks::Player | const uint32 PlayerEnteredObserver | Called when a player enters observer mode. |
Hooks::Player | const uint32 PlayerKilled | Called when a player is killed. |
Hooks::Player | const uint32 PlayerTakeDamage | Called when a player takes damage. Note that the victim entity can't be changed at this point. |
Hooks::Player | const uint32 PlayerCanRespawn | Called when the game wants to know if the player should be able to respawn or not.Set bCanRespawn to false to disallow, default true. |
Hooks::Player | const uint32 PlayerSpawn | Called when a player (re)spawns. |
Hooks::Player | const uint32 ClientConnected | Called when a player connects to the server. if bDisallowJoin is set to false, the player is disconnected. szRejectReason is shown to the player if disconnected. The maximum length of the reject reason string is 127 characters. |
Hooks::PickupObject | const uint32 Collected | Called when a pickup object is collected by a player. |
Hooks::PickupObject | const uint32 Materialize | Called when a pickup object materializes. |
Hooks::PickupObject | const uint32 CanCollect | Called when a pickup object is about to be collected by a player. Note that basic checks are done before this hook is called. |
Hooks::Player | const uint32 CanPlayerUseReservedSlot | Called when a player connects to the server, and the number of slots left on the server is <= the number of reserved slots. Set bAllowJoin to true to allow the player to join (default false). |
Hooks::Player | const uint32 ClientSay | Called when a player says something in game chat. The SayParameters class can be used to manipulate input and veto the message. |
Hooks::Player | const uint32 ClientPutInServer | Called when a player has finished connecting and is put into the world. It is safe to send network messages to the player at this point. |
Hooks::Player | const uint32 ClientDisconnect | Called when a player disconnects. Note that this is only called if the player was fully connected, meaning the player went through ClientPutInServer. This is never called for the local host. |
Hooks::Game | const uint32 EntityCreated | Called when a new entity is created. At this point the entity is not spawned yet and may not be fully initialized. |
Hooks::Game | const uint32 MapChange | Called when the map changes. This happens when the world is destroyed. There may still be entities that exist at this point. |