Entity systemClasses

CMapInfo

Schema class CMapInfo, derived from CPointEntity.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CMapInfo.h

Inherits CPointEntity

Fields

FieldType
m_iBuyingStatusint32_t
m_flBombRadiusfloat
m_iPetPopulationint32_t
m_bUseNormalSpawnsForDMbool
m_bDisableAutoGeneratedDMSpawnsbool
m_flBotMaxVisionDistancefloat
m_iHostageCountint32_t
m_bFadePlayerVisibilityFarZbool
m_bRainTraceToSkyEnabledbool
m_bGPUCullSkyboxbool
m_flEnvRainStrengthfloat
m_flEnvPuddleRippleStrengthfloat
m_flEnvPuddleRippleDirectionfloat
m_flEnvWetnessCoveragefloat
m_flEnvWetnessDryingAmountfloat

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