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

FieldType
m_bHasTriggerRadiusbool
m_bHasPickupRadiusbool
m_flPickupRadiusSqrfloat
m_flTriggerRadiusSqrfloat
m_flLastPickupCheckfloat
m_bPlayerCounterListenerAddedbool
m_bPlayerInTriggerRadiusbool
m_hSpawnParticleEffectCStrongHandle<InfoForResourceTypeIParticleSystemDefinition>
m_pAmbientSoundEffectCUtlSymbolLarge
m_bAutoStartAmbientSoundbool
m_pSpawnScriptFunctionCUtlSymbolLarge
m_hPickupParticleEffectCStrongHandle<InfoForResourceTypeIParticleSystemDefinition>
m_pPickupSoundEffectCUtlSymbolLarge
m_pPickupScriptFunctionCUtlSymbolLarge
m_hTimeoutParticleEffectCStrongHandle<InfoForResourceTypeIParticleSystemDefinition>
m_pTimeoutSoundEffectCUtlSymbolLarge
m_pTimeoutScriptFunctionCUtlSymbolLarge
m_pPickupFilterNameCUtlSymbolLarge
m_hPickupFilterCHandle<CBaseFilter>
m_OnPickupCEntityIOOutput
m_OnTimeoutCEntityIOOutput
m_OnTriggerStartTouchCEntityIOOutput
m_OnTriggerTouchCEntityIOOutput
m_OnTriggerEndTouchCEntityIOOutput
m_pAllowPickupScriptFunctionCUtlSymbolLarge
m_flPickupRadiusfloat
m_flTriggerRadiusfloat
m_pTriggerSoundEffectCUtlSymbolLarge
m_bGlowWhenInTriggerbool
m_glowColorColor
m_bUseablebool
m_hTriggerHelperCHandle<CItemGenericTriggerHelper>

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page