|
Pico Unreal Platform SDK
|
Functions | |
| static bool | CreateSession (UObject *WorldContextObject, int HostingPlayerNum, FName SessionName, const FPicoOnlineSessionSettings &NewSessionSettings, FPicoManagerOnCreateSessionCompleteDelegate OnCreateSessionCompleteDelegate) |
| Creates a private session or a matchmaking session. More... | |
| static bool | StartSession (UObject *WorldContextObject, FName SessionName, FPicoManagerOnStartSessionCompleteDelegate OnStartSessionCompleteDelegate) |
Changes the session state to InProgress. More... | |
| static bool | UpdateSession (UObject *WorldContextObject, FName SessionName, const FPicoOnlineSessionSettings &UpdatedSessionSettings, FPicoManagerOnUpdateSessionCompleteDelegate OnUpdateSessionCompleteDelegate, bool bShouldRefreshOnlineData=true) |
| Updates the datastore of a session. More... | |
| static bool | EndSession (UObject *WorldContextObject, FName SessionName, FPicoManagerOnEndSessionCompleteDelegate OnEndSessionCompleteDelegate) |
Changes the session state to Ended. More... | |
| static bool | DestroySession (UObject *WorldContextObject, FName SessionName, FPicoManagerOnDestroySessionCompleteDelegate OnDestroySessionCompleteDelegate) |
| Destroys the current session. More... | |
| static bool | IsPlayerInSession (UObject *WorldContextObject, FName SessionName, const FString &UniqueId) |
| Checks whether a player is in a session. More... | |
| static bool | StartMatchmaking (UObject *WorldContextObject, const TArray< FString > &LocalPlayers, FName SessionName, const FPicoOnlineSessionSettings &NewSessionSettings, UPARAM(ref) FPicoOnlineSessionSearch &NewSessionSearch, FPicoManagerOnMatchmakingCompleteDelegate OnMatchmakingCompleteDelegate) |
| Starts matchmaking for a session. More... | |
| static bool | CancelMatchmaking (UObject *WorldContextObject, int SearchingPlayerNum, FName SessionName, FPicoManagerOnCancelMatchmakingCompleteDelegate OnCancelMatchmakingCompleteDelegate) |
| Cancels matchmaking for a session. More... | |
| static bool | FindSessions (UObject *WorldContextObject, int32 SearchingPlayerNum, UPARAM(ref) FPicoOnlineSessionSearch &NewSessionSearch, FPicoManagerOnFindSessionCompleteDelegate OnFindSessionCompleteDelegate) |
| Finds matchmaking sessions or moderated sessions. More... | |
| static bool | FindSessionById (UObject *WorldContextObject, const FString &SearchingUserId, const FString &SessionId, FPicoManagerOnSingleSessionResultCompleteDelegate OnSingleSessionResultCompleteDelegate) |
| Gets session data by session ID. More... | |
| static bool | JoinSession (UObject *WorldContextObject, int PlayerNum, FName SessionName, const FPicoOnlineSessionSearchResult &SearchResult, FPicoManagerOnJoinSessionCompleteDelegate OnJoinSessionCompleteDelegate) |
| Joins a session. More... | |
| static void | DumpSessionState (UObject *WorldContextObject) |
| Dumps a session. More... | |
| static EOnlineSessionStatePicoType | GetSessionState (UObject *WorldContextObject, FName SessionName) |
| Gets the state of a session. More... | |
| static FPicoNamedOnlineSession | GetNamedSession (UObject *WorldContextObject, FName SessionName) |
| Gets the data about a session. More... | |
| static FPicoNamedOnlineSession | AddNamedSessionBySettings (UObject *WorldContextObject, FName SessionName, const FPicoOnlineSessionSettings &SessionSettings) |
| Adds session by session settings. More... | |
| static FPicoNamedOnlineSession | AddNamedSession (UObject *WorldContextObject, FName SessionName, const FPicoOnlineSession &Session) |
| Adds a session. More... | |
| static FPicoOnlineSessionSettings | GetSessionSettings (UObject *WorldContextObject, FName SessionName) |
| Gets the settings of a session. More... | |
| static bool | SendSessionInviteToFriend (UObject *WorldContextObject, int32 LocalUserNum, FName SessionName, const FString &Friend) |
| Invites a friend to the session. More... | |
This is the BP_Session group
|
static |
Adds a session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| Session | The session will be added. |
|
static |
Adds session by session settings.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| SessionSettings | The settings of the session. |
|
static |
Cancels matchmaking for a session.
| WorldContextObject | Used to get the information about the current world. |
| SearchingPlayerNum | (not used) |
| SessionName | The session name. |
| OnCancelMatchmakingCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Creates a private session or a matchmaking session.
| WorldContextObject | Used to get the information about the current world. |
| HostingPlayerNum | The index in the current userId array. |
| SessionName | The session name. |
| NewSessionSettings | The session settings. |
| OnCreateSessionCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Destroys the current session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| OnDestroySessionCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Dumps a session.
| WorldContextObject | Used to get the information about the current world. |
|
static |
Changes the session state to Ended.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| OnEndSessionCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Gets session data by session ID.
| WorldContextObject | Used to get the information about the current world. |
| SearchingUserId | The ID of the logged-in player. If the played has not logged in, the session data will be unable to get. |
| SessionId | The session ID. |
| OnSingleSessionResultCompleteDelegate | Will be executed when the request has been complete. |
true: success false: failure
|
static |
Finds matchmaking sessions or moderated sessions.
| WorldContextObject | Used to get the information about the current world. |
| SearchingPlayerNum | (not used) |
| NewSessionSearch | The search settings. |
| OnFindSessionCompleteDelegate | Will be executed when the request has been complete. |
true: success false: failure
|
static |
Gets the data about a session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
|
static |
Gets the settings of a session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
|
static |
Gets the state of a session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The name of the session to get state for. |
|
static |
Checks whether a player is in a session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| UniqueId | The unique ID of the player. |
true: success false: failure
|
static |
Joins a session.
| WorldContextObject | Used to get the information about the current world. |
| PlayerNum | The LocalOwnerId of the session. |
| SessionName | The name of the session to join. |
| SearchResult | The search session result settings. |
| OnJoinSessionCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Invites a friend to the session.
| WorldContextObject | Used to get the information about the current world. |
| LocalUserNum | The controller number of the friend to invite. |
| SessionName | The session name. |
| Friend | The name of the friend to invite. |
|
static |
Starts matchmaking for a session.
| WorldContextObject | Used to get the information about the current world. |
| LocalPlayers | The logged-in users in the session. |
| SessionName | The session name. |
| NewSessionSettings | Set NumPrivateConnections to 0. |
| NewSessionSearch | Used to modify the search state. |
| OnMatchmakingCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Changes the session state to InProgress.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| OnStartSessionCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure
|
static |
Updates the datastore of a session.
| WorldContextObject | Used to get the information about the current world. |
| SessionName | The session name. |
| UpdatedSessionSettings | The settings with new datastore. |
| bShouldRefreshOnlineData | (not used) |
| OnUpdateSessionCompleteDelegate | Will be executed when the request has been completed. |
true: success false: failure