![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
Unified game event system - all requests and state changes are reported using a message. More...
#include <GameContext.h>
Public Member Functions | |
| Message (MsgType _type) | |
| Message (MsgType _type, std::string const &_desc) | |
| Message (MsgType _type, void *_data) | |
Data Fields | |
| MsgType | type = MSG_INVALID |
| std::string | description |
| void * | payload = nullptr |
| std::vector< Message > | chain |
| Posted after the message is processed. More... | |
Unified game event system - all requests and state changes are reported using a message.
Definition at line 51 of file GameContext.h.
|
inline |
Definition at line 53 of file GameContext.h.
|
inline |
Definition at line 54 of file GameContext.h.
|
inline |
Definition at line 55 of file GameContext.h.
| std::vector<Message> RoR::Message::chain |
Posted after the message is processed.
Definition at line 60 of file GameContext.h.
| std::string RoR::Message::description |
Definition at line 58 of file GameContext.h.
| void* RoR::Message::payload = nullptr |
Definition at line 59 of file GameContext.h.
| MsgType RoR::Message::type = MSG_INVALID |
Definition at line 57 of file GameContext.h.
1.8.17