GUAAccountResult
Data Structures
- Unity
- Unreal Engine
GUAAccountResult: Account callback information, inherits from GUABaseResult, includes login information.
| Parameter | Type | Description |
|---|---|---|
| Profile [Player Network SDK Only] | GUAAccountProfile | Account profile |
| ChannelID | int | Channel ID |
| Channel | string | Channel name |
| SeqID | string | Sequence ID |
| Username | string | Username |
| Uid | string | User ID |
| Token | string | User login token |
| Expiretime | long | Token expiration time |
| IsRegister | int | Whether the user is registered 0: False, 1: True |
| IsSetPassword | int | Whether password is set 0: False, 1: True |
| IsReceiveEmail | int | Whether to receive marketing emails 0: False, 1: True |
| VerifyCodeExpireTime | long | Verification code expiration time |
| CanBind [Player Network SDK Only] | int | Whether the account can be linked 0: False, 1: True |
| IsUserNameAvailable [Player Network SDK Only] | int | Whether the username is available 0: False, 1: True |
| TosAcceptanceVersion [Player Network SDK Only] | string | Version of Terms of Service the user accepted |
| PpAcceptanceVersion [Player Network SDK Only] | string | Version of Privacy Policy the user accepted |
| TosAcceptanceTime [Player Network SDK Only] | long | Time when user accepted the Terms of Service |
| PpAcceptanceTime [Player Network SDK Only] | long | Time when user accepted the Privacy Policy |
GUAAccountResult: Account callback information, inherits from GUABaseResult, includes login information.
| Parameter | Type | Description |
|---|---|---|
| channelid | int32_t | Channel ID |
| channel | std::string | Channel name |
| seq_id | std::string | Sequence ID |
| user_name | std::string | Username |
| uid | std::string | User ID |
| token | std::string | User login token |
| expire_time | int32_t | Token expiration time |
| is_register | int32_t | Whether the user is registered 0: False, 1: True |
| is_set_password | int32_t | Whether password is set 0: False, 1: True |
| is_receive_email | int32_t | Whether to receive marketing emails 0: False, 1: True |
| verify_code_expire_time | int32_t | Verification code expiration time |
| can_bind [Player Network SDK Only] | int32_t | Whether the account can be linked 0: False, 1: True |
| is_user_name_available [Player Network SDK Only] | int32_t | Whether the username is available 0: False, 1: True |
| pp_version [Player Network SDK Only] | std::string | Version of Terms of Service the user accepted |
| tos_version [Player Network SDK Only] | std::string | Version of Privacy Policy the user accepted |
| pp_acceptance_time [Player Network SDK Only] | int64_t | Time when user accepted the Terms of Service |
| tos_acceptance_time [Player Network SDK Only] | int64_t | Time when user accepted the Privacy Policy |