|
static bool | ReadLeaderboards (UObject *WorldContextObject, const TArray< FString > &Players, UPARAM(ref) FPicoOnlineLeaderboardRead &PicoReadObject, FPicoManagerOnReadLeaderboardsCompleteDelegate OnReadLeaderboardsCompleteDelegate) |
| Get entries of a leaderboard. More...
|
|
static bool | ReadLeaderboardsForFriends (UObject *WorldContextObject, int32 LocalUserNum, UPARAM(ref) FPicoOnlineLeaderboardRead &PicoReadObject, FPicoManagerOnReadLeaderboardsCompleteDelegate OnReadLeaderboardsCompleteDelegate) |
| Get entries of a leaderboard. More...
|
|
static bool | WriteLeaderboards (UObject *WorldContextObject, const FString &SessionName, const FString &Player, UPARAM(ref) FPicoOnlineLeaderboardWrite &PicoWriteObject) |
| Writes a entry of a leaderboard. More...
|
|
This is the BP_Leaderboard group
◆ ReadLeaderboards()
bool ReadLeaderboards |
( |
UObject * |
WorldContextObject, |
|
|
const TArray< FString > & |
Players, |
|
|
UPARAM(ref) FPicoOnlineLeaderboardRead & |
PicoReadObject, |
|
|
FPicoManagerOnReadLeaderboardsCompleteDelegate |
OnReadLeaderboardsCompleteDelegate |
|
) |
| |
|
static |
Get entries of a leaderboard.
- Parameters
-
WorldContextObject | Used to get the information about the current world. |
Players | If the num of Players is bigger than zero, and the only Player in it is the logged in Player, then the value of StartAt will be ppfLeaderboard_StartAtCenteredOnViewer. |
PicoReadObject | Set leaderboard name in it. |
OnReadLeaderboardsCompleteDelegate | Executes this parameter after the request has been done. |
- Returns
- Bool:
-
true
: success
-
false
: failure
◆ ReadLeaderboardsForFriends()
bool ReadLeaderboardsForFriends |
( |
UObject * |
WorldContextObject, |
|
|
int32 |
LocalUserNum, |
|
|
UPARAM(ref) FPicoOnlineLeaderboardRead & |
PicoReadObject, |
|
|
FPicoManagerOnReadLeaderboardsCompleteDelegate |
OnReadLeaderboardsCompleteDelegate |
|
) |
| |
|
static |
Get entries of a leaderboard.
- Parameters
-
WorldContextObject | Used to get the information about the current world. |
LocalUserNum | Not used. |
PicoReadObject | Set leaderboard name in it. |
OnReadLeaderboardsCompleteDelegate | Executes this parameter after the request has been done. |
- Returns
- Bool:
-
true
: success
-
false
: failure
◆ WriteLeaderboards()
bool WriteLeaderboards |
( |
UObject * |
WorldContextObject, |
|
|
const FString & |
SessionName, |
|
|
const FString & |
Player, |
|
|
UPARAM(ref) FPicoOnlineLeaderboardWrite & |
PicoWriteObject |
|
) |
| |
|
static |
Writes a entry of a leaderboard.
- Parameters
-
WorldContextObject | Used to get the information about the current world. |
SessionName | Not used. |
Player | Need to be the logged-in player. |
PicoWriteObject | Set leaderboard name and the score in it. |
- Returns
- Bool:
-
true
: success
-
false
: failure