Login
Logs in to the game through a specified channel. The function returns the authentication status and Player Network account information.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool Login(
const EINTLLoginChannel Channel,
const FString Permissions = "",
const FString ExtraJson = "{}");
Input parameters
Parameter | Type | Description |
---|---|---|
Channel | FString | The specified channel to login. For more information, see EINTLLoginChannel. |
Permissions | FString | The authorized permissions list during login. Separate the permissions using commas. Example: user_info,inapp_friends For permission details, see relative channel descriptions. |
ExtraJson | FString | The extended field. For more information, see relative channel descriptions. |
Observers
The callback processing interface is AuthResultObserver. The callback data structure is AuthResult.
The callback methodID is kMethodIDAuthLogin
.
Code sample
// login to Steam
UINTLSDKAPI::Login(EINTLLoginChannel::kChannelSteam);