|
Isle
|
[AI] High-level manager for the in-game radio, handling notifications, playing/stopping, and state synchronization. More...
#include <radio.h>


Public Member Functions | |
| Radio () | |
| [AI] Constructs a new Radio, registering for notifications and control events. More... | |
| ~Radio () override | |
| [AI] Destructor; shuts down radio playback and unregisters events. More... | |
| MxLong | Notify (MxParam &p_param) override |
| [AI] Handles system notifications (end actions, control events) relevant to the radio. More... | |
| const char * | ClassName () const override |
| [AI] Returns the runtime class name for Radio objects. More... | |
| MxBool | IsA (const char *p_name) const override |
| [AI] Type check for the Radio class and its ancestors. More... | |
| void | Initialize (MxBool p_und) |
| [AI] Sets radio system as enabled/disabled and resets state if changed. More... | |
| void | CreateState () |
| [AI] Creates or retrieves a RadioState object in the game state manager. More... | |
| void | Play () |
| [AI] Starts playing radio music if it is not already active. More... | |
| void | Stop () |
| [AI] Stops radio playback if currently active and updates audio state. More... | |
| RadioState * | GetState () |
| [AI] Returns the current RadioState for this radio. More... | |
Public Member Functions inherited from MxCore | |
| MxCore () | |
| [AI] Constructs a new MxCore object and assigns it a unique id. More... | |
| virtual | ~MxCore () |
| [AI] Virtual destructor. Required for correct polymorphic cleanup in derived classes. More... | |
| virtual MxLong | Notify (MxParam &p_param) |
| [AI] Virtual callback notification mechanism. More... | |
| virtual MxResult | Tickle () |
| [AI] Called by tickle managers to allow the object to update itself. More... | |
| virtual const char * | ClassName () const |
| [AI] Returns the runtime class name of this object. More... | |
| virtual MxBool | IsA (const char *p_name) const |
| [AI] Checks whether this object's class type or parents match the given name. More... | |
| MxU32 | GetId () |
| [AI] Gets the unique (per-process) id assigned to this object instance. More... | |
[AI] High-level manager for the in-game radio, handling notifications, playing/stopping, and state synchronization.
[AI] Listens for player interaction and game events. Orchestrates radio playback and persists state through RadioState. []
| Radio::Radio | ( | ) |
|
override |
|
inlineoverridevirtual |
| void Radio::CreateState | ( | ) |
[AI] Creates or retrieves a RadioState object in the game state manager.
|
inline |
[AI] Returns the current RadioState for this radio.
| void Radio::Initialize | ( | MxBool | p_und | ) |
|
inlineoverridevirtual |
| void Radio::Play | ( | ) |
| void Radio::Stop | ( | ) |