ezEngine  Release 25.03
ezCVarEvent Struct Reference

The data that is broadcast whenever a cvar is changed. More...

#include <CVar.h>

Public Types

enum  Type { ValueChanged, DelayedSyncValueChanged, ListOfVarsChanged }
 

Public Member Functions

 ezCVarEvent (ezCVar *pCVar)
 

Public Attributes

Type m_EventType = ValueChanged
 The type of this event.
 
ezCVarm_pCVar
 Which CVar is involved. This is only for convenience, it is always the CVar on which the event is triggered.
 

Detailed Description

The data that is broadcast whenever a cvar is changed.

Member Enumeration Documentation

◆ Type

Enumerator
ValueChanged 

Sent whenever the 'Current' value of the CVar is changed.

DelayedSyncValueChanged 

Sent whenever the 'DelayedSync' value of the CVar changes. It might actually change back to the 'Current' value though.

ListOfVarsChanged 

A CVar was added or removed dynamically (not just by loading a plugin), some stuff may need to update its state.


The documentation for this struct was generated from the following file: