stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::ShowTextEvent::SobstItem Struct Reference

Public Attributes

int32_t m_nLine = 0
 The line number (start from 0) More...
 
int32_t m_nPos = 0
 The position within the string (for unicode it's not the code point!). More...
 
SOBST_TYPE m_eSobstType = SOBST_TYPE_INPUT
 The sobstitution type. More...
 
int32_t m_nParam1
 For SOBST_TYPE_VAR_ID contains the OwnerType (example: OwnerType::GAME). More...
 
int32_t m_nParam2
 For SOBST_TYPE_VAR_ID contains the variable idx for the owner type. More...
 
int32_t m_nParam3
 For SOBST_TYPE_VAR_ID and OwnerType::TEAM or OwnerType::PLAYER contains the level team or -1. More...
 
int32_t m_nParam4
 For SOBST_TYPE_VAR_ID and OwnerType::PLAYER contains the teammate or -1. More...
 

Member Data Documentation

◆ m_eSobstType

SOBST_TYPE stmg::ShowTextEvent::SobstItem::m_eSobstType = SOBST_TYPE_INPUT

The sobstitution type.

◆ m_nLine

int32_t stmg::ShowTextEvent::SobstItem::m_nLine = 0

The line number (start from 0)

◆ m_nParam1

int32_t stmg::ShowTextEvent::SobstItem::m_nParam1

For SOBST_TYPE_VAR_ID contains the OwnerType (example: OwnerType::GAME).

◆ m_nParam2

int32_t stmg::ShowTextEvent::SobstItem::m_nParam2

For SOBST_TYPE_VAR_ID contains the variable idx for the owner type.

◆ m_nParam3

int32_t stmg::ShowTextEvent::SobstItem::m_nParam3

For SOBST_TYPE_VAR_ID and OwnerType::TEAM or OwnerType::PLAYER contains the level team or -1.

◆ m_nParam4

int32_t stmg::ShowTextEvent::SobstItem::m_nParam4

For SOBST_TYPE_VAR_ID and OwnerType::PLAYER contains the teammate or -1.

◆ m_nPos

int32_t stmg::ShowTextEvent::SobstItem::m_nPos = 0

The position within the string (for unicode it's not the code point!).