Skip to main content

LoginWithMappedChannel [Player Network SDK Only]

[Player Network SDK Only] Logs in with a mapped channel.

Supported Platform

Supports Windows platform.

Function Definition

void LoginWithMappedChannel(string channel,  string permission,  string extraJson);

Input Parameters

ParameterTypeDescription
channelstringThe specified channel to log in
permissionstringThe authorized permissions list during login. Separate the permissions with commas.
extraJsonstringThe extended field.
For more information, see relative channel descriptions.

Callback Processing

The callback processing API is GUALoginResultObservers. The callback data structure is GUALoginResult.

The callback event is LoginResultEvents. The callback methodID is GUA_ACCOUNT_LOGIN_WITH_MAPPED_CHANNEL.

Code Sample

UnionAdapterAPI.GetAccountService().LoginWithMappedChannel("Epic");