|
PICO Unreal Platform SDK
|
OnlinePicoChallenges Blueprint Function class. More...
#include <Pico_Challenges.h>
Static Public Member Functions | |
| static void | Get (UObject *WorldContextObject, const FString &ChallengeID, FChallengeGet InGetDelegate) |
| Gets a specified challenge by ID. More... | |
| static void | GetEntries (UObject *WorldContextObject, const FString &ChallengeID, int PageIdx, int PageSize, ELeaderboardFilterType Filter, ELeaderboardStartAt StartAt, FChallengeGetEntries InGetEntriesDelegate) |
| Gets a list of challenge entries. More... | |
| static void | GetEntriesAfterRank (UObject *WorldContextObject, const FString &ChallengeID, int PageIdx, int PageSize, const FString &AfterRank, FChallengeGetEntriesAfterRank InGetEntriesAfterRankDelegate) |
| Gets the challenge entries after a specified ranking. More... | |
| static void | GetEntriesByIds (UObject *WorldContextObject, const FString &ChallengeID, int PageIdx, int PageSize, ELeaderboardStartAt StartAt, const TArray< FString > &UserIDs, FChallengeGetEntriesByIds InGetEntriesByIdsDelegate) |
| Gets the challenge entries for specified user(s). More... | |
| static void | GetList (UObject *WorldContextObject, FPico_ChallengeOptions ChallengeOptions, int PageIdx, int PageSize, FChallengeGetList InGetListDelegate) |
| Gets a list of challenges. More... | |
| static void | Join (UObject *WorldContextObject, const FString &ChallengeID, FChallengeJoin InJoinDelegate) |
| Lets the current user join a challenge. More... | |
| static void | Leave (UObject *WorldContextObject, const FString &ChallengeID, FChallengeLeave InLeaveDelegate) |
| Lets the current user leave a challenge. More... | |
| static void | Invite (UObject *WorldContextObject, const FString &ChallengeID, const TArray< FString > &UserIDs, FChallengeInvite Delegate) |
| Invites user(s) to join a challenge. More... | |
| static void | LaunchInvitableUserFlow (UObject *WorldContextObject, const FString &ChallengeID, FChallengeLaunchInvitableUserFlow Delegate) |
| Launches the invitation flow to let the current user invite friends to a specified challenge. More... | |
OnlinePicoChallenges Blueprint Function class.
|
static |
Gets a specified challenge by ID.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| InGetDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Gets a list of challenge entries.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| PageIdx | Defines which page of entries to return. The value = (The target page No.)-1. For example, if you want to get the first page of entries, pass 0; if you want to get the second page of entries, pass 1. |
| PageSize | The number of entries to return on each page. |
| Filter | Restricts the scope of entries to return:
|
| StartAt | Defines where to start returning challenge entries, the enumerations are:
|
| InGetEntriesDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Gets the challenge entries after a specified ranking.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| PageIdx | Defines which page of entries to return. The value = (The target page No.)-1. For example, if you want to get the first page of entries, pass 0; if you want to get the second page of entries, pass 1. |
| PageSize | The number of entries to return on each page. |
| AfterRank | Defines after which rank to return entries. |
| InGetEntriesAfterRankDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Gets the challenge entries for specified user(s).
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| PageIdx | Defines which page of entries to return. The value = (The target page No.)-1. For example, if you want to get the first page of entries, pass 0; if you want to get the second page of entries, pass 1. |
| PageSize | The number of entries to return on each page. |
| StartAt | Defines where to start returning challenge entries, the enumerations are:
|
| UserIDs | User ID(s). |
| InGetEntriesByIdsDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Gets a list of challenges.
| WorldContextObject | Used to get the information about the current world. | ||||||
| ChallengeOptions | Restricts the scope of challenges to return. You can define the start date and end date of challenges, the leaderboard the challenges belong to, etc.
|
|
static |
Invites user(s) to join a challenge.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| UserIDs | User ID(s). |
| Delegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Lets the current user join a challenge.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| InJoinDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Launches the invitation flow to let the current user invite friends to a specified challenge.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| Delegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
|
static |
Lets the current user leave a challenge.
| WorldContextObject | Used to get the information about the current world. |
| ChallengeID | Challenge ID. |
| InLeaveDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |