Entity systemClasses
CSoundEventEntity
Schema class CSoundEventEntity, derived from CBaseEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CSoundEventEntity.h
Inherits CBaseEntity
Fields
| Field | Type |
|---|---|
m_bStartOnSpawn | bool |
m_bToLocalPlayer | bool |
m_bStopOnNew | bool |
m_bSaveRestore | bool |
m_bSavedIsPlaying | bool |
m_flSavedElapsedTime | float |
m_iszSourceEntityName | CUtlSymbolLarge |
m_iszAttachmentName | CUtlSymbolLarge |
m_onSoundFinished | CEntityIOOutput |
m_flClientCullRadius | float |
m_iszSoundName | CUtlSymbolLarge |
m_hSource | CEntityHandle |
m_nEntityIndexSelection | int32_t |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).