5#include "CoreMinimal.h"
6#include "OnlineSubsystemPico.h"
7#include "OnlineSubsystemPicoPackage.h"
8#include "OnlineSubsystemPicoNames.h"
22DECLARE_LOG_CATEGORY_EXTERN(ApplicationInterface, Log, All);
25DECLARE_DELEGATE_ThreeParams(FOnLaunchOtherAppComplete,
const FString& ,
bool ,
const FString& );
26DECLARE_DELEGATE_ThreeParams(FOnLaunchOtherAppByPresenceComplete,
const FString& ,
bool ,
const FString& );
27DECLARE_DELEGATE_SixParams(FOnGetVersionComplete, int64 ,
const FString& , int64 ,
const FString& ,
bool ,
const FString& );
28DECLARE_DELEGATE_ThreeParams(FOnLaunchOtherAppByAppIdComplete,
const FString& ,
bool ,
const FString& );
29DECLARE_DELEGATE_ThreeParams(FOnLaunchStoreComplete,
const FString& ,
bool ,
const FString& );
36 FOnlineSubsystemPico& PicoSubsystem;
56 bool LaunchOtherApp(
const FString& PackageName,
const FString& Message,
const FOnLaunchOtherAppComplete& Delegate = FOnLaunchOtherAppComplete());
57 void OnQueryLaunchOtherAppComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchOtherAppComplete& Delegate);
70 bool GetVersion(
const FOnGetVersionComplete& Delegate = FOnGetVersionComplete());
71 void OnQueryGetVersionComplete(ppfMessageHandle Message,
bool bIsError,
const FOnGetVersionComplete& Delegate);
93 bool LaunchOtherAppByPresence(
const FString& AppID,
const FString& PackageName,
const FString& Message,
const FString& ApiName,
const FString& LobbySessionId,
const FString& MatchSessionId,
const FString& TrackId,
const FString& Extra,
const FOnLaunchOtherAppByPresenceComplete& Delegate = FOnLaunchOtherAppByPresenceComplete());
94 void OnQueryLaunchOtherAppByPresenceComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchOtherAppByPresenceComplete& Delegate);
110 bool LaunchOtherAppByAppId(
const FString& AppId,
const FString& Message,
const FOnLaunchOtherAppByAppIdComplete& Delegate = FOnLaunchOtherAppByAppIdComplete());
111 void OnQueryLaunchOtherAppByAppIdComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchOtherAppByAppIdComplete& Delegate);
124 bool LaunchStore(
const FOnLaunchStoreComplete& Delegate = FOnLaunchStoreComplete());
125 void OnQueryLaunchStoreComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchStoreComplete& Delegate);
Pico Application interface class.
Definition: PicoApplicationInterface.h:33
bool LaunchOtherAppByPresence(const FString &AppID, const FString &PackageName, const FString &Message, const FString &ApiName, const FString &LobbySessionId, const FString &MatchSessionId, const FString &TrackId, const FString &Extra, const FOnLaunchOtherAppByPresenceComplete &Delegate=FOnLaunchOtherAppByPresenceComplete())
Launches a different app in a user's library.
bool LaunchOtherAppByAppId(const FString &AppId, const FString &Message, const FOnLaunchOtherAppByAppIdComplete &Delegate=FOnLaunchOtherAppByAppIdComplete())
Launches a different app in a user's library by app ID.
bool LaunchOtherApp(const FString &PackageName, const FString &Message, const FOnLaunchOtherAppComplete &Delegate=FOnLaunchOtherAppComplete())
Launches a different app in a user's library.
bool LaunchStore(const FOnLaunchStoreComplete &Delegate=FOnLaunchStoreComplete())
Launches the PICO Store and jump to the details page of the current app.
bool GetVersion(const FOnGetVersionComplete &Delegate=FOnGetVersionComplete())
Gets the current app's latest version in the PICO Store.