A message listener used for Update script methods.
Mostly of internal use, average developer does not need this class.
- auto HandleMessage(uint32_t messageID, void* msg) -> bool override
- Called every time a message is received.
UpdateMessageListener:: HandleMessage(uint32_t messageID,
void* msg) override
Called every time a message is received.
|messageID||The ID of the message received.|
|msg||The data of the message received, it might be nullptr.|
|Returns||Whether the message was handled or not.|
Only the messages with an ID this listened signed up for will call this event.