|
stmm-games-doc
0.32.0
|

Public Attributes | |
| ACTION_TYPE | m_eActionType = ACTION_KEY_ACTION |
| int32_t | m_nActionId = -1 |
| Depending on m_eActionType, the valid key action id, GameProxy::INTERRUPT_TYPE value or event's message (must be >= -1). More... | |
| int32_t | m_nValue = 0 |
| Only used if m_eActionType is ACTION_EVENT_MSG. More... | |
| std::string | m_sActionName |
| If m_eActionType is ACTION_EVENT_MSG the non empty event id. More... | |
| int32_t | m_nImgId = -1 |
| The id of the shown image (icon) or -1 if not defined. More... | |
| std::string | m_sText |
| The shown text. More... | |
| double | m_fTextSize = - 1.0 |
| The font height in tile heights. More... | |
| ACTION_TYPE stmg::ActionWidget::LocalInit::m_eActionType = ACTION_KEY_ACTION |
| double stmg::ActionWidget::LocalInit::m_fTextSize = - 1.0 |
The font height in tile heights.
Non positive value means as big as it fits. Default is -1.0.
| int32_t stmg::ActionWidget::LocalInit::m_nActionId = -1 |
Depending on m_eActionType, the valid key action id, GameProxy::INTERRUPT_TYPE value or event's message (must be >= -1).
| int32_t stmg::ActionWidget::LocalInit::m_nImgId = -1 |
The id of the shown image (icon) or -1 if not defined.
| int32_t stmg::ActionWidget::LocalInit::m_nValue = 0 |
Only used if m_eActionType is ACTION_EVENT_MSG.
The event's value. Default is 0.
| std::string stmg::ActionWidget::LocalInit::m_sActionName |
If m_eActionType is ACTION_EVENT_MSG the non empty event id.
See Level::addEvent(const std::string& sId, unique_ptr<Event>).
| std::string stmg::ActionWidget::LocalInit::m_sText |
The shown text.
Can be empty.
1.8.13