stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::VariableEvent::LocalInit Struct Reference
Inheritance diagram for stmg::VariableEvent::LocalInit:
Inheritance graph
[legend]

Public Attributes

int32_t m_nVarTeam = -1
 The preferences team (not the level team) the variable belongs to or -1 if game variable. More...
 
int32_t m_nVarMate = -1
 The mate nr of the player the variable belongs to or -1 if a team or game variable. More...
 
int32_t m_nVarIndex = 0
 The variable id. More...
 
int32_t m_nDefaultIncBy = 0
 The value that is added to the variable when the nMsg is not in MESSAGE_ADD_TO_VALUE. More...
 

Member Data Documentation

◆ m_nDefaultIncBy

int32_t stmg::VariableEvent::LocalInit::m_nDefaultIncBy = 0

The value that is added to the variable when the nMsg is not in MESSAGE_ADD_TO_VALUE.

Default is 0.

◆ m_nVarIndex

int32_t stmg::VariableEvent::LocalInit::m_nVarIndex = 0

The variable id.

Must be valid.

◆ m_nVarMate

int32_t stmg::VariableEvent::LocalInit::m_nVarMate = -1

The mate nr of the player the variable belongs to or -1 if a team or game variable.

Default is -1.

◆ m_nVarTeam

int32_t stmg::VariableEvent::LocalInit::m_nVarTeam = -1

The preferences team (not the level team) the variable belongs to or -1 if game variable.

Default is -1.