App::IUnmanagedMessageListener class

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

Derived classes

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 cCellModeStrategy
class cScenarioMode
class cSporeApp
class Editors::EditorPlayMode
class Editors::cSpeciesManager
class Palettes::ItemViewer
class Palettes::PaletteSubcategoriesUI
class Pollinator::cAchievementsManager
Manages the achievements of the game.
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
class Skinner::cSkinPainterJobExtractTexture
class UI::GlobalUIUnkBase1

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.

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.