FMiriGraphicsControllerHooks
The seam through which a screen reaches a C++ controller object. MiriGraphics sits below Game, so it cannot name an actor or a world; the host layer that can (Game's FUIControllerBridge) installs these functions once, and the screen stack calls them with the stack's own address as host so the installer can pick that stack's world. Plain function pointers: the installer is an engine module that never unloads, and a std::function would cross an allocator.
- Module
- MiriGraphics
- Header
#include "MiriGraphics/FMiriGraphicsControllerResolver.h"- Namespace
Mowo
A className names any reflected class; the bridge answers false for a name that is not one (a Visual Scripting class, which the stack runs itself).
Public functions
| Returns | Name | Description |
|---|---|---|
bool | ||
bool | Calls a zero-argument MFUNCTION on the class's live instance. | |
bool | Reads an MPROPERTY, or a zero-argument getter MFUNCTION of the same name. | |
bool | ||
void | Forget everything cached for a host (a stack going away or a play session ending): cached instances belong to the world that is gone. |
Function details
bool
bool (*Exists)(const void* host, const std::string& className) = nullptrbool
bool (*Invoke)(const void* host, const std::string& className, const std::string& function, const FMiriGraphicsActionContext& context) = nullptrCalls a zero-argument MFUNCTION on the class's live instance.
bool
bool (*Read)(const void* host, const std::string& className, const std::string& member, FMiriGraphicsBindingValue& outValue) = nullptrReads an MPROPERTY, or a zero-argument getter MFUNCTION of the same name.
bool
bool (*Describe)(const std::string& className, FMiriGraphicsControllerDescription& outDescription) = nullptrvoid
void (*ResetHost)(const void* host) = nullptrForget everything cached for a host (a stack going away or a play session ending): cached instances belong to the world that is gone.