17#include "CoreMinimal.h"
18#include "OnlineSubsystemPico.h"
19#include "OnlineSubsystemPicoPackage.h"
20#include "OnlineSubsystemPicoNames.h"
34DECLARE_LOG_CATEGORY_EXTERN(ApplicationInterface, Log, All);
37DECLARE_DELEGATE_ThreeParams(FOnLaunchOtherAppComplete,
const FString& ,
bool ,
const FString& );
38DECLARE_DELEGATE_ThreeParams(FOnLaunchOtherAppByPresenceComplete,
const FString& ,
bool ,
const FString& );
39DECLARE_DELEGATE_SixParams(FOnGetVersionComplete, int64 ,
const FString& , int64 ,
const FString& ,
bool ,
const FString& );
40DECLARE_DELEGATE_ThreeParams(FOnLaunchOtherAppByAppIdComplete,
const FString& ,
bool ,
const FString& );
41DECLARE_DELEGATE_ThreeParams(FOnLaunchStoreComplete,
const FString& ,
bool ,
const FString& );
48 FOnlineSubsystemPico& PicoSubsystem;
68 bool LaunchOtherApp(
const FString& PackageName,
const FString& Message,
const FOnLaunchOtherAppComplete& Delegate = FOnLaunchOtherAppComplete());
69 void OnQueryLaunchOtherAppComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchOtherAppComplete& Delegate);
82 bool GetVersion(
const FOnGetVersionComplete& Delegate = FOnGetVersionComplete());
83 void OnQueryGetVersionComplete(ppfMessageHandle Message,
bool bIsError,
const FOnGetVersionComplete& Delegate);
105 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());
106 void OnQueryLaunchOtherAppByPresenceComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchOtherAppByPresenceComplete& Delegate);
122 bool LaunchOtherAppByAppId(
const FString& AppId,
const FString& Message,
const FOnLaunchOtherAppByAppIdComplete& Delegate = FOnLaunchOtherAppByAppIdComplete());
123 void OnQueryLaunchOtherAppByAppIdComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchOtherAppByAppIdComplete& Delegate);
136 bool LaunchStore(
const FOnLaunchStoreComplete& Delegate = FOnLaunchStoreComplete());
137 void OnQueryLaunchStoreComplete(ppfMessageHandle Message,
bool bIsError,
const FOnLaunchStoreComplete& Delegate);
Pico Application interface class.
Definition: PicoApplicationInterface.h:45
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.