PICO Unreal Platform SDK
BP_Application

Functions

static bool LaunchOtherApp (UObject *WorldContextObject, const FString &PackageName, const FString &Message, FOnlineManagerLaunchOtherAppDelegate InLaunchOtherAppDelegate)
 Launches a different app in a user's library. More...
 
static bool GetVersion (UObject *WorldContextObject, FOnlineManagerGetVersionDelegate InGetVersionDelegate)
 Gets the current app's latest version in the PICO Store. More...
 
static bool LaunchOtherAppByPresence (UObject *WorldContextObject, const FString &AppID, const FString &PackageName, const FString &Message, const FString &ApiName, const FString &LobbySessionId, const FString &MatchSessionId, const FString &TrackId, const FString &Extra, FOnlineManagerLaunchOtherAppByPresenceDelegate InLaunchOtherAppByPresenceDelegate)
 Launches a different app in a user's library. More...
 
static bool LaunchOtherAppByAppId (UObject *WorldContextObject, const FString &AppId, const FString &Message, FOnlineManagerLaunchOtherAppByAppIdDelegate InLaunchOtherAppByAppIdDelegate)
 Launches a different app in a user's library. More...
 
static bool LaunchStore (UObject *WorldContextObject, FOnlineManagerLaunchStoreDelegate InLaunchStoreDelegate)
 Launches the PICO Store and jump to the details page of the current app. More...
 

Detailed Description

This is the BP_Application group

Function Documentation

◆ GetVersion()

static bool GetVersion ( UObject *  WorldContextObject,
FOnlineManagerGetVersionDelegate  InGetVersionDelegate 
)
static

Gets the current app's latest version in the PICO Store.

Parameters
WorldContextObjectUsed to get the information about the current world.
InGetVersionDelegateWill be executed when the request has been completed(int64, CurrentCode, FString, CurrentName, int64, LatestCode, FString, LatestName, bool, IsSuccessed, FString, ErrorMessage).
Returns
Bool:
  • true: success
  • false: failure

◆ LaunchOtherApp()

static bool LaunchOtherApp ( UObject *  WorldContextObject,
const FString &  PackageName,
const FString &  Message,
FOnlineManagerLaunchOtherAppDelegate  InLaunchOtherAppDelegate 
)
static

Launches a different app in a user's library.

Note
If the user does not have that app installed, the user will be directed to that app's page on the PICO Store.
Parameters
WorldContextObjectUsed to get the information about the current world.
PackageNameThe package name of the app to launch.
MessageA message to be passed to the launched app.
InLaunchOtherAppDelegateWill be executed when the request has been completed(FString, StringMessage, bool, IsSuccessed, FString, ErrorMessage).
Returns
Bool:
  • true: success
  • false: failure

◆ LaunchOtherAppByAppId()

static bool LaunchOtherAppByAppId ( UObject *  WorldContextObject,
const FString &  AppId,
const FString &  Message,
FOnlineManagerLaunchOtherAppByAppIdDelegate  InLaunchOtherAppByAppIdDelegate 
)
static

Launches a different app in a user's library.

Note
If the user does not have that app installed, the user will be directed to that app's page on the PICO Store.
Parameters
WorldContextObjectUsed to get the information about the current world.
AppIdThe app id of the app to launch.
MessageA message to be passed to the launched app.
InLaunchOtherAppByAppIdDelegateWill be executed when the request has been completed(FString, StringMessage, bool, IsSuccessed, FString, ErrorMessage).
Returns
Bool:
  • true: success
  • false: failure

◆ LaunchOtherAppByPresence()

static bool LaunchOtherAppByPresence ( UObject *  WorldContextObject,
const FString &  AppID,
const FString &  PackageName,
const FString &  Message,
const FString &  ApiName,
const FString &  LobbySessionId,
const FString &  MatchSessionId,
const FString &  TrackId,
const FString &  Extra,
FOnlineManagerLaunchOtherAppByPresenceDelegate  InLaunchOtherAppByPresenceDelegate 
)
static

Launches a different app in a user's library.

Note
If the user does not have that app installed, the user will be directed to that app's page on the PICO Store.
Parameters
WorldContextObjectUsed to get the information about the current world.
AppIDThe ID of the app to launch.
PackageNameThe package name of the app to launch.
MessageA message to be passed to the launched app.
ApiNameThe API name of the destination in the app.
LobbySessionIdThe lobby session ID of the user's presence, which identifies a user group or team. Users with the same lobby session ID can play together or form a team in a game.
MatchSessionIdThe match session ID of the user's presence, which identifies all users within the same destination, such as maps and levels. Users with different lobby session IDs will have the same match session ID when playing the same match.
TrackIdThe tracking ID of the app launch event.
ExtraExtra data defined by the developer.
InLaunchOtherAppByPresenceDelegateWill be executed when the request has been completed(FString, StringMessage, bool, IsSuccessed, FString, ErrorMessage).
Returns
Bool:
  • true: success
  • false: failure

◆ LaunchStore()

static bool LaunchStore ( UObject *  WorldContextObject,
FOnlineManagerLaunchStoreDelegate  InLaunchStoreDelegate 
)
static

Launches the PICO Store and jump to the details page of the current app.

Parameters
WorldContextObjectUsed to get the information about the current world(FString, StringMessage, bool, IsSuccessed, FString, ErrorMessage).
Returns
Bool:
  • true: success
  • false: failure