Interface for the Launcher checking system
更多...
#include <ILauncherCheckModule.h>
|
| virtual bool | RunLauncher (ELauncherAction Action, FString Payload=FString()) const =0 |
| | Opens the launcher, appending our identifier to the cmdline 更多...
|
| |
| virtual bool | WasRanFromLauncher () const =0 |
| | Checks to see if the current app was ran from the Launcher 更多...
|
| |
|
virtual | ~ILauncherCheckModule () |
| | Virtual destructor.
|
| |
| virtual bool | IsGameModule () const |
| | Returns true if this module hosts gameplay code 更多...
|
| |
|
virtual void | PostLoadCallback () |
| | Called after the module has been reloaded
|
| |
|
virtual void | PreUnloadCallback () |
| | Called before the module has been unloaded
|
| |
| virtual void | ShutdownModule () |
| | Called before the module is unloaded, right before the module object is destroyed. 更多...
|
| |
| virtual void | StartupModule () |
| | Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
|
| |
| virtual bool | SupportsAutomaticShutdown () |
| | Override this to set whether your module would like cleanup on application shutdown 更多...
|
| |
| virtual bool | SupportsDynamicReloading () |
| | Override this to set whether your module is allowed to be unloaded on the fly 更多...
|
| |
|
virtual | ~IModuleInterface () |
| | Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface
|
| |
Interface for the Launcher checking system
◆ Get()
Singleton-like access to this module's interface.
This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
- 返回
- Returns singleton instance, loading the module on demand if needed
◆ RunLauncher()
| virtual bool ILauncherCheckModule::RunLauncher |
( |
ELauncherAction |
Action, |
|
|
FString |
Payload = FString() |
|
) |
| const |
|
pure virtual |
Opens the launcher, appending our identifier to the cmdline
- 参数
-
| Action | - The Action we want the launcher to take |
| Payload | - (Optional) additional information we want to supply to the action uri |
- 返回
- true, if it was successful
◆ WasRanFromLauncher()
| virtual bool ILauncherCheckModule::WasRanFromLauncher |
( |
| ) |
const |
|
pure virtual |
Checks to see if the current app was ran from the Launcher
- 返回
- true, if it was
该类的文档由以下文件生成: