App::IUnmanagedMessageListener class

Same as App::IMessageListener, but this one does not use ref-counting.

Derived classes

class cScenarioMode
class IMessageListener
An interface that can receive messages sent through the app.
class Thumbnail_cImportExport
A class related with the .PNG files of creations.
class Editors::cSpeciesManager
class Palettes::ItemViewer
class Palettes::PaletteSubcategoriesUI
class Simulator::Cell::GameModeCell
class Simulator::cGameDataUFO
class Simulator::cGameInputManager
class Simulator::cGameModeManager
class Simulator::cScenarioData
class Simulator::cScenarioPlayMode
class Simulator::cSimulatorPlayerUFO
class Simulator::cSpaceInventoryItem
Represents an item of the space player inventory. This include space tools and cargo.
class Simulator::cToolManager

Constructors, destructors, conversion operators

~IUnmanagedMessageListener() virtual

Public functions

auto HandleMessage(uint32_t messageID, void* msg) -> bool pure virtual
Called every time a message is received.

Function documentation

bool App::IUnmanagedMessageListener::HandleMessage(uint32_t messageID, void* msg) pure virtual

Called every time a message is received.

Parameters
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 listener signed up for will call this event.