Omni One Unreal SDK 1.1.0
The Omni One Unreal SDK allows for games to interface with the Omni platform service.
|
The Application service handles application related data management.
#include <OmniApplicationService.h>
Inherits FOmniPlatformServiceBase.
Public Member Functions | |
void | GetLaunchDetails (const FGetLaunchDetailsDelegate &OnGetLaunchDetailsDelegate) |
When a player is invited to join another player in your game, they will receive and accept an invite in the Omni One Launcher, and this game will be launched. | |
void | GetVersion (const FString &PackageName, const FGetVersionDelegate &OnGetVersionCallback) |
Retrieve version data. | |
void | GetSystemInfo (const FGetSystemInfoDelegate &OnGetSystemInfoCallback) |
Retrieve system information data. | |
Public Attributes | |
FLaunchIntentChangedCallback | OnLaunchIntentChangedCallback |
Will be broadcast if the game's launch details get updated while the game is running | |
void FOmniApplicationService::GetLaunchDetails | ( | const FGetLaunchDetailsDelegate & | OnGetLaunchDetailsDelegate | ) |
When a player is invited to join another player in your game, they will receive and accept an invite in the Omni One Launcher, and this game will be launched.
This function provides the details needed to connect to the player that invited them. The data that is passed in is the data you provided when you created the invite.
void FOmniApplicationService::GetSystemInfo | ( | const FGetSystemInfoDelegate & | OnGetSystemInfoCallback | ) |
Retrieve system information data.
OnGetSystemInfoCallback | A callback that will be executed when the service has retrieved the information. UOmniSystemInfo* SystemInfo is the parameter. |
void FOmniApplicationService::GetVersion | ( | const FString & | PackageName, |
const FGetVersionDelegate & | OnGetVersionCallback | ||
) |
Retrieve version data.
Please note, that the latest code in VersionData is always invalid.
PackageName | Name of the application package. |
OnGetVersionCallback | A callback that will be executed when the service has retrieved the information. UOmniVersionData*, VersionData is the parameter. |