Entity systemClasses
CLogicNPCCounter
Schema class CLogicNPCCounter, derived from CBaseEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CLogicNPCCounter.h
Inherits CBaseEntity
Fields
| Field | Type |
|---|---|
m_OnMinCountAll | CEntityIOOutput |
m_OnMaxCountAll | CEntityIOOutput |
m_OnMinCount_1 | CEntityIOOutput |
m_OnMaxCount_1 | CEntityIOOutput |
m_OnMinCount_2 | CEntityIOOutput |
m_OnMaxCount_2 | CEntityIOOutput |
m_OnMinCount_3 | CEntityIOOutput |
m_OnMaxCount_3 | CEntityIOOutput |
m_hSource | CEntityHandle |
m_iszSourceEntityName | CUtlSymbolLarge |
m_flDistanceMax | float |
m_bDisabled | bool |
m_nMinCountAll | int32_t |
m_nMaxCountAll | int32_t |
m_nMinFactorAll | int32_t |
m_nMaxFactorAll | int32_t |
m_iszNPCClassname_1 | CUtlSymbolLarge |
m_nNPCState_1 | int32_t |
m_bInvertState_1 | bool |
m_nMinCount_1 | int32_t |
m_nMaxCount_1 | int32_t |
m_nMinFactor_1 | int32_t |
m_nMaxFactor_1 | int32_t |
m_flDefaultDist_1 | float |
m_iszNPCClassname_2 | CUtlSymbolLarge |
m_nNPCState_2 | int32_t |
m_bInvertState_2 | bool |
m_nMinCount_2 | int32_t |
m_nMaxCount_2 | int32_t |
m_nMinFactor_2 | int32_t |
m_nMaxFactor_2 | int32_t |
m_flDefaultDist_2 | float |
m_iszNPCClassname_3 | CUtlSymbolLarge |
m_nNPCState_3 | int32_t |
m_bInvertState_3 | bool |
m_nMinCount_3 | int32_t |
m_nMaxCount_3 | int32_t |
m_nMinFactor_3 | int32_t |
m_nMaxFactor_3 | int32_t |
m_flDefaultDist_3 | float |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).