Entity systemClasses
CItemGeneric
Schema class CItemGeneric, derived from CItem.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CItemGeneric.h
Inherits CItem
Fields
| Field | Type |
|---|---|
m_bHasTriggerRadius | bool |
m_bHasPickupRadius | bool |
m_flPickupRadiusSqr | float |
m_flTriggerRadiusSqr | float |
m_flLastPickupCheck | float |
m_bPlayerCounterListenerAdded | bool |
m_bPlayerInTriggerRadius | bool |
m_hSpawnParticleEffect | CStrongHandle<InfoForResourceTypeIParticleSystemDefinition> |
m_pAmbientSoundEffect | CUtlSymbolLarge |
m_bAutoStartAmbientSound | bool |
m_pSpawnScriptFunction | CUtlSymbolLarge |
m_hPickupParticleEffect | CStrongHandle<InfoForResourceTypeIParticleSystemDefinition> |
m_pPickupSoundEffect | CUtlSymbolLarge |
m_pPickupScriptFunction | CUtlSymbolLarge |
m_hTimeoutParticleEffect | CStrongHandle<InfoForResourceTypeIParticleSystemDefinition> |
m_pTimeoutSoundEffect | CUtlSymbolLarge |
m_pTimeoutScriptFunction | CUtlSymbolLarge |
m_pPickupFilterName | CUtlSymbolLarge |
m_hPickupFilter | CHandle<CBaseFilter> |
m_OnPickup | CEntityIOOutput |
m_OnTimeout | CEntityIOOutput |
m_OnTriggerStartTouch | CEntityIOOutput |
m_OnTriggerTouch | CEntityIOOutput |
m_OnTriggerEndTouch | CEntityIOOutput |
m_pAllowPickupScriptFunction | CUtlSymbolLarge |
m_flPickupRadius | float |
m_flTriggerRadius | float |
m_pTriggerSoundEffect | CUtlSymbolLarge |
m_bGlowWhenInTrigger | bool |
m_glowColor | Color |
m_bUseable | bool |
m_hTriggerHelper | CHandle<CItemGenericTriggerHelper> |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).