Pico Unreal Platform SDK
|
Functions | |
static bool | PresenceClear (UObject *WorldContextObject, FOnlineManagerPresenceClearDelegate InPresenceClearDelegate) |
Clears a user's presence data in the current app. More... | |
static void | ReadInvitableUser (UObject *WorldContextObject, TArray< FString > SuggestedUserList, FOnlineManagerPresenceReadInvitableUserDelegate InReadInvitableUserDelegate) |
Reads a list of invitable users for a user. More... | |
static bool | GetInvitableFriendList (UObject *WorldContextObject, TArray< FPicoUserInfo > &OutFriendsList) |
Gets a list of invitable friends for a user. These friends are previously retrieved from the online service when PresenceGetDestinations is complete. More... | |
static bool | PresenceSet (UObject *WorldContextObject, const FString &ApiName, const FString &LobbySessionId, const FString &MatchSessionId, bool bIsJoinable, const FString &Extra, FOnlineManagerPresenceSetDelegate InPresenceSetDelegate) |
Sets presence data for a user in the current app. More... | |
static bool | PresenceSetDestination (UObject *WorldContextObject, const FString &ApiName, FOnlineManagerPresenceSetDestinationDelegate InPresenceSetDestinationDelegate) |
Replaces a user's current destination with the provided one. More... | |
static bool | PresenceSetIsJoinable (UObject *WorldContextObject, bool bIsJoinable, FOnlineManagerPresenceSetIsJoinableDelegate InPresenceSetIsJoinableDelegate) |
Sets whether a user is joinable. More... | |
static bool | PresenceSetLobbySession (UObject *WorldContextObject, const FString &LobbySession, FOnlineManagerPresenceSetLobbySessionDelegate InPresenceSetLobbySessionDelegate) |
Replaces a user's current lobby session ID with the provided one. More... | |
static bool | PresenceSetMatchSession (UObject *WorldContextObject, const FString &MatchSession, FOnlineManagerPresenceSetMatchSessionDelegate InPresenceSetMatchSessionDelegate) |
Replaces a user's current match session ID with the provided one. More... | |
static bool | PresenceSetExtra (UObject *WorldContextObject, const FString &Extra, FOnlineManagerPresenceSetExtraDelegate InPresenceSetExtraDelegate) |
Sets extra presence data for a user. More... | |
static bool | PresenceReadSendInvites (UObject *WorldContextObject, FOnlineManagerPresenceReadSentInvitesDelegate InPresenceReadSendInvitesDelegate) |
Reads a list of sent invitations. More... | |
static bool | PresenceSendInvites (UObject *WorldContextObject, TArray< FString > UserIdArray, FOnlineManagerPresenceSentInvitesDelegate InPresenceSentInvitesDelegate) |
Sends invitations to users. More... | |
static bool | GetSendInvitesList (UObject *WorldContextObject, TArray< FPicoApplicationInvite > &OutList) |
Gets a list of sent invitations when PresenceSendInvites or PresenceReadSendInvites is complete. More... | |
static bool | PresenceGetDestinations (UObject *WorldContextObject, FOnlineManagerPresenceGetDestinationsDelegate InPresenceGetDestinationsDelegate) |
Gets all the destinations that can be set for a user. More... | |
static bool | PresenceGetDestinationsList (UObject *WorldContextObject, TArray< FPicoDestination > &OutList) |
Gets a list of destinations when PresenceGetDestinations is complete. More... | |
This is the BP_Presence group
|
static |
Gets a list of invitable friends for a user. These friends are previously retrieved from the online service when PresenceGetDestinations
is complete.
WorldContextObject | Used to get the information about the current world. |
OutFriendsList | The [out] array that receives the copied data. |
true
: the friend list has been foundfalse
: otherwise
|
static |
Gets a list of sent invitations when PresenceSendInvites
or PresenceReadSendInvites
is complete.
WorldContextObject | Used to get the information about the current world. |
OutList | The [out] array that receives the copied data. |
true
: the invitation list has been foundfalse
: otherwise
|
static |
Clears a user's presence data in the current app.
WorldContextObject | Used to get the information about the current world. |
InPresenceClearDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Gets all the destinations that can be set for a user.
PresenceGetDescriptionList
after the Delegate has been executed. WorldContextObject | Used to get the information about the current world. |
InPresenceGetDestinationsDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Gets a list of destinations when PresenceGetDestinations
is complete.
WorldContextObject | Used to get the information about the current world. |
OutList | The [out] array that receives the copied data. |
true
: successfalse
: failure
|
static |
Reads a list of sent invitations.
GetSendInvitesList
after the Delegate has been executed. WorldContextObject | Used to get the information about the current world. |
InPresenceReadSendInvitesDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Sends invitations to users.
GetSendInvitesList
after the Delegate has been executed. WorldContextObject | Used to get the information about the current world. |
UserIdArray | The ID array of the users to invite. |
InPresenceSentInvitesDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Sets presence data for a user in the current app.
WorldContextObject | Used to get the information about the current world. |
ApiName | The API name of the destination. |
LobbySessionId | Lobby session ID is used to identify a user group or team. Users with the same lobby session ID can play together or form a team in a game. |
MatchSessionId | Match session ID is used to identify all users within a 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. |
bIsJoinable | Defines whether the user is joinable:
|
Extra | Extra presence data defined by the developer. |
InPresenceSetDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Replaces a user's current destination with the provided one.
WorldContextObject | Used to get the information about the current world. |
ApiName | The API name of the new destination. |
InPresenceSetDestinationDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Sets extra presence data for a user.
WorldContextObject | Used to get the information about the current world. |
Extra | The extra presence data defined by the developer. |
InPresenceSetExtraDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Sets whether a user is joinable.
WorldContextObject | Used to get the information about the current world. |
bIsJoinable | Defines whether the user is joinable:
|
InPresenceSetIsJoinableDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Replaces a user's current lobby session ID with the provided one.
WorldContextObject | Used to get the information about the current world. |
LobbySessionId | The new lobby session ID. |
InPresenceSetLobbySessionDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Replaces a user's current match session ID with the provided one.
WorldContextObject | Used to get the information about the current world. |
MatchSessionId | The new match session ID. |
InPresenceSetMatchSessionDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure
|
static |
Reads a list of invitable users for a user.
GetInvitableFriendList
after the Delegate has been executed. WorldContextObject | Used to get the information about the current world. |
SuggestedUserList | The ID list of the users suggested being invited. |
InReadInvitableUserDelegate | Will be executed when the request has been completed. |
true
: successfalse
: failure