|
PICO Unreal Platform SDK
|
OnlinePicoUser Blueprint Function class. More...
#include <Pico_User.h>
Static Public Member Functions | |
| static void | PicoGetLoggedInUserAndRoom (UObject *WorldContextObject, FGetLoggedInUserFriendsAndRooms InGetLoggedInuserFriendsAndRoomsCallback) |
| Gets the friends of the logged-in user and the rooms the friends might be in. If a friend is not in any room, the 'room' field will be null. More... | |
| static void | PicoGetNextUserAndRoomArrayPage (UObject *WorldContextObject, UPico_UserAndRoomArray *InUserAndRoomArray, FGetNextUserAndRoomArrayPage InGetNextUserAndRoomArrayPageCallback) |
| Gets the friend list of the current user. More... | |
| static void | PicoGetUserFriends (UObject *WorldContextObject, FGetLoggedInUserFriends InGetLoggedInUserFriendsDelegate) |
| Gets the friend list of the current user. Friends who don't use this app won't appear in this list. More... | |
| static void | PicoGetNextUserPage (UObject *WorldContextObject, UPico_UserArray *InUserArray, FGetNextUserPage InGetNextUserPageDelegate) |
| Gets the next page of a user list. More... | |
| static bool | GetLoginUser (UObject *WorldContextObject, FGetLoginUser InGetLoginUserDelegate) |
| Gets the information about the current logged-in user. More... | |
| static bool | GetPicoUserInfo (UObject *WorldContextObject, const FString &UserId, FGetUserInfo InGetUserInfoDelegate) |
| Gets user information by user ID. More... | |
| static bool | GetAuthorizePermissions (UObject *WorldContextObject, FGetPermissionResult OnGetPermissionResultCallback) |
| Gets the authorized permissions. More... | |
| static bool | RequestUserPermissions (UObject *WorldContextObject, TArray< FString > Permissions, FGetPermissionResult OnGetPermissionResultCallback) |
| Requests user permissions. The user will received a pop-up notification window. More... | |
| static bool | LaunchFriendRequestFlow (UObject *WorldContextObject, const FString UserId, FLaunchFriendRequestResult OnLaunchFriendRequestResultCallback) |
| Launches the flow to apply for friendship with someone. More... | |
| static bool | GetAccessToken (UObject *WorldContextObject, FGetAccessTokenResult OnGetAccessTokenResultCallback) |
| Gets current login user's AccessToken. More... | |
| static bool | GetRelations (UObject *WorldContextObject, TArray< FString > UserIDs, FGetUserRelationResult OnGetUserRelationResultCallback) |
| Gets the relationship between a specified user and other user(s). More... | |
| static bool | EntitlementCheck (UObject *WorldContextObject, bool bKillApp, FEntitlementCheckResult OnEntitlementCheckResultCallback) |
| Gets whether the player has entitlement to use the app in the current state. More... | |
OnlinePicoUser Blueprint Function class.
|
static |
Gets whether the player has entitlement to use the app in the current state.
| WorldContextObject | Used to get the information about the current world. |
| bKillApp | Whether to kill the app in the system when the player does not have the entitlement. If the value is true, you will not get the callback result because the app is killed. |
| OnEntitlementCheckResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, int, ErrorCode, const FString&, ErrorMessage, UPico_EntitlementCheckResult *, EntitlementCheck). |
true: success false: failure
|
static |
Gets current login user's AccessToken.
| WorldContextObject | Used to get the information about the current world. |
| OnGetAccessTokenResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, const FString&, AccessToken). |
true: success false: failure
|
static |
Gets the authorized permissions.
| WorldContextObject | Used to get the information about the current world. |
| OnGetPermissionResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_PermissionResult *, PermissionResult). |
true: success false: failure
|
static |
Gets the information about the current logged-in user.
| WorldContextObject | Used to get the information about the current world. |
| InGetLoginUserDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_User *, User). |
true: success false: failure
|
static |
Gets user information by user ID.
| WorldContextObject | Used to get the information about the current world. |
| UserId | The ID of the user. |
| InGetUserInfoDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_User *, User). |
true: success false: failure
|
static |
Gets the relationship between a specified user and other user(s).
| WorldContextObject | Used to get the information about the current world. |
| UserIDs | The list of user IDs. The request queries the current logged-in user's relationship with these users. A single request can pass no more than 20 user IDs. |
| OnGetUserRelationResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_UserRelationResult *, UserRelationResult). |
true: success false: failure
|
static |
Launches the flow to apply for friendship with someone.
| WorldContextObject | Used to get the information about the current world. |
| UserId | The ID of the user that the friend request is sent to. |
| OnLaunchFriendRequestResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, bool, bDidCancel, bool, bDidSendRequest). |
true: success false: failure
|
static |
Gets the friends of the logged-in user and the rooms the friends might be in. If a friend is not in any room, the 'room' field will be null.
| WorldContextObject | Used to get the information about the current world. |
| InGetLoggedInuserFriendsAndRoomsCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_UserAndRoomArray *, UserAndRoomArray). |
true: success false: failure
|
static |
Gets the friend list of the current user.
| WorldContextObject | Used to get the information about the current world. |
| InUserAndRoomArray | The current object of user and room array. |
| InGetNextUserAndRoomArrayPageCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_UserAndRoomArray *, UserAndRoomArray). |
true: success false: failure
|
static |
Gets the next page of a user list.
| WorldContextObject | Used to get the information about the current world. |
| InUserArray | The current object of user array. |
| InGetNextUserPageDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_UserArray *, UserArray). |
true: success false: failure
|
static |
Gets the friend list of the current user. Friends who don't use this app won't appear in this list.
| WorldContextObject | Used to get the information about the current world. |
| InGetLoggedInUserFriendsDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_UserArray *, UserArray). |
true: success false: failure
|
static |
Requests user permissions. The user will received a pop-up notification window.
| WorldContextObject | Used to get the information about the current world. |
| Permissions | Will be executed when the request has been completed. Delegate will contain the requested object class.
|
| OnGetPermissionResultCallback | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_PermissionResult *, PermissionResult). |
true: success false: failure