Set Provision
Save the version of legal terms agreed by the player.Call this interface when the OpenID is generated upon login and the player checks all legal terms.
Function Definition
public static void SetProvision(string user_agreed_game_tos,
string user_agreed_game_pp,
string user_agreed_li_pp,
string user_agreed_li_dt,
string user_agreed_li_tos,
int is_recv_email)
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| user_agreed_game_tos | String | Version of the service terms agreed by the player, if not agreed, pass an empty value. |
| user_agreed_game_pp | String | Version of the privacy policy agreed by the player, if not agreed, pass an empty value. |
| user_agreed_li_pp | String | Version of the LEVEL INFINITE PASS privacy policy agreed by the player, if not agreed, pass an empty value. |
| user_agreed_li_dt | String | Version of the data transfer policy agreed by the player, if not agreed, pass an empty value. |
| user_agreed_li_tos | string | Version of the LEVEL INFINITE PASS service terms agreed by the player, if not agreed, pass an empty value. |
| is_recv_email | int | Whether to receive marketing emails |
Observers
The callback interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The callback method ID is INTL_AUTH_SET_PROVISION.
Code example
LevelInfinite.GetLIUidAndTokenForAdultCert();