Overview
The Player Network SDK includes extensive modules to support game account systems and operational solutions.The client API reference provides detailed information on the data structures and method calls of these modules within the Player Network SDK.Select the required module from the left navigation bar to query specific interface details, and refer to the method ID list below for corresponding interfaces.
Enumeration of Method Names
| MethodID | kMethodID | Explanation |
|---|---|---|
| 000 | kMethodIDUndefine | Undefined |
| 101 | kMethodIDAuthAutoLogin | Automatic Login |
| 102 | kMethodIDAuthLogin | Authorized Login |
| 103 | kMethodIDAuthBind | Bind |
| 104 | kMethodIDAuthGetAuthResult | Get Login State |
| 106 | kMethodIDAuthQueryUserInfo | Get Personal Information |
| 107 | kMethodIDAuthLogout | Logout |
| 108 | kMethodIDAuthLoginWithConfirmCode | Login with Confirmation Code |
| 109 | kMethodIDAuthWakeUp | Foreign Account |
| 111 | kMethodIDAuthResetGuest | Reset Guest Account |
| 112 | kMethodIDAuthQueryCanBind | Query if Bindable |
| 113 | kMethodIDAuthQueryActiveUser | Query Active Users |
| 114 | kMethodIDAuthShowAccountPicker | Show User List |
| 115 | kMethodIDAuthCheckActiveUser | Confirm if Account Usable |
| 116 | kMethodIDAuthNeedRefreshUser | Refresh User |
| 117 | kMethodIDAuthRequestVerifyCode | Get Verification Code |
| 118 | kMethodIDAuthResetPassword | Reset Password |
| 119 | kMethodIDAuthModifyAccount | Modify Account Information |
| 121 | kMethodIDAuthQueryRegisterStatus | Get Registration Status |
| 122 | kMethodIDAuthQueryVerifyCodeStatus | Get Verification Code Status |
| 123 | kMethodIDAuthQueryIsReceiveEmail | Check if Receiving Email |
| 124 | kMethodIDAuthRegister | Register Account |
| 125 | kMethodIDAuthModifyProfile | Modify Personal Information |
| 126 | kMethodIDAuthLoginWithBoundChannel | Login Using Bound Channel |
| 127 | kMethodIDAuthBindWithLoggedinChannel | Bind to Logged-in Channel |
| 128 | kMethodIDAuthLoginWithMappedChannel | Login Using Mapped Channel |
| 129 | kMethodIDAuthBuildMapWithLoggedinChannel | Map to Logged-in Channel |
| 130 | kMethodIDAuthQueryIDToken | Query Token ID |
| 132 | kMethodIDAuthUnbind | Unbind |
| 133 | kMethodIDAuthQueryUsernameStatus | Query Username Status |
| 134 | kMethodIDAuthQueryDataProtectionAcceptance | Query Data Protection Acceptance |
| 135 | kMethodIDAuthModifyDataProtectionAcceptance | Modify Data Protection Acceptance |
| 136 | kMethodIDAuthQueryAccountProfile | Query Account Information |
| 138 | kMethodIDAuthQueryLegalDocuments | Query Legal Document Information |
| 139 | kMethodIDAuthModifyLegalDocuments | Modify Legal Document Information |
| 140 | kMethodIDAuthQueryBindInfo | Query Binding Relationship |
| 144 | kMethodIDAuthGenerateTransferCode | Generate Transfer Code |
| 145 | kMethodIDAuthQueryTransferCode | Query Transfer Code |
| 146 | kMethodIDAuthTransferAccount | Transfer Account |
| 147 | kMethodIDAuthRevokeChannelToken | Revoke channel token interface |
| 153 | kMethodIDAuthQueryAccountRegistrationInfo | Query the registration status of self-built accounts and LI PASS accounts registered through email |
| 154 | kMethodIDAuthLoginUsingPluginCache | Login Using Cache |
| 155 | kMethodIDAuthChangeIsReceiveEmail | Set whether to accept email |
| 156 | kMethodIDAuthCancelLIAccountDeletion | Cancel LI PASS Deletion |
| 158 | kMethodIDAuthUpgradeSaccToLI | Upgrade account to LI PASS |
| 159 | kMethodIDAuthGetLIUidAndTokenForCert | Get LI PASS Information |
| 160 | kMethodIDAuthLoginWithVerifyCode | Verification Code Login |
| 161 | kMethodIDAuthBindWithVerifyCode | Bind using Verification Code |
| 162 | kMethodIDAuthBindUsingPluginCache | Use plugin cache to bind |
| 163 | kMethodIDAuthAutoLoginForLI | Self-built LI PASS Automatic Login |
| 164 | kMethodIDAuthLoginForLI | Self-built LI PASS Authorized Login |
| 165 | kMethodIDAuthQueryNeedUpgradeAndProvisionInfo | Query if self-built account linked to OpenID in login state needs to upgrade to LI PASS |
| 166 | kMethodIDAuthSetProvision | Save player's accepted terms version |
| 167 | kMethodIDAuthCancelLogin | Cancel Login |
| 201 | kMethodIDFriendShare | Share |
| 202 | kMethodIDFriendSendMessage | Send Message |
| 203 | kMethodIDFriendQueryFriends | Get Friend List |
| 301 | kMethodIDWebViewURLClose | Close Web Page |
| 302 | kMethodIDWebviewGetEncryptURL | Get Encrypted Ticket for Login State |
| 303 | kMethodIDWebViewJsCall | Native call JS |
| 401 | kMethodIDPushRegister | Register Push |
| 402 | kMethodIDPushUnregister | Unregister Push |
| 403 | kMethodIDPushSetTag | Register Tag |
| 404 | kMethodIDPushDeleteTag | Unregister Tag |
| 405 | kMethodIDPushAddLocalNotification | Register Local Notification |
| 406 | kMethodIDPushClearLocalNotifications | Clear Local Notifications |
| 407 | kMethodIDPushNotificationCallback | Push Callback |
| 412 | kMethodIDPushDeleteLocalNotifications | Delete Local Notification |
| 501 | kMethodIDNoticeRequestData | Retrieve Announcement Data |
| 603 | kMethodIDToolsLoadCutoutData | Query Asynchronous Cutout Screen Information |
| 701 | kMethodIDAnalyticsCrashExtraMessage | Additional Crash Logs |
| 703 | kMethodIDAnalyticsQueryDeviceLevel | Query Device Level |
| 704 | kMethodIDAnalyticsRequestTrackingAuthorization | Request Tracking Authorization |
| 706 | kMethodIDAnalyticsReportEvent | Report Event |
| 707 | kMethodIDAnalyticsReportBinary | Report Binary |
| 708 | kMethodIDAnalyticsGetInstanceID | Get Instance ID |
| 709 | kMethodIDAnalyticsSetDeviceLevel | Set Device Level |
| 710 | kMethodIDAnalyticsGetDeviceLevel | Get Device Level |
| 711 | kMethodIDAnalyticsReportLoginStep | Report Login Event Step |
| 712 | kMethodIDAnalyticsReportPayStep | Report Payment Event Step |
| 713 | kMethodIDAnalyticsReportCustomEventStep | Report Custom Event Step |
| 720 | kMethodIDAnalyticsPostFrameTimeInSession | Frame Time Data Reporting |
| 721 | kMethodIDAnalyticsMarkSessionLoad | Scene Start Mark |
| 722 | kMethodIDAnalyticsSetSessionExtraParam | Add Custom Reporting Content |
| 724 | kMethodIDAnalyticsMarkSessionClosed | Scene End Mark |
| 725 | kMethodIDAnalyticsPostNetworkLatencyInSession | Network Latency Reporting in Game Logic |
| 730 | kMethodIDAnalyticsLogCrashInfo | Custom Log Printing |
| 731 | kMethodIDAnalyticsSetCrashUserValue | Set Key Data |
| 732 | kMethodIDAnalyticsSetCrashUserId | Set Report User ID |
| 733 | kMethodIDAnalyticsReportException | Report Exception Information |
| 901 | kMethodIDComplianceSetUserProfile | Set User Profile |
| 902 | kMethodIDComplianceQueryUserStatus | Query Minor Information |
| 903 | kMethodIDComplianceSetAdulthood | Set User Adulthood |
| 904 | kMethodIDComplianceSetEUAgreeStatus | Set EU User Data Transfer Agreement |
| 905 | kMethodIDComplianceSendEmail | Send Parental Verification Email |
| 906 | kMethodIDComplianceCommitBirthday | Submit User Birth Date |
| 907 | kMethodIDComplianceSetParentCertificateStatus | Set Parental Certification Status |
| 908 | kMethodIDComplianceQueryIsEEA | Query if EEA Country |
| 909 | kMethodIDComplianceVerifyCreditCard | Open Credit Card Verification Page |
| 916 | kMethodIDComplianceVerifyRealName | Open Real Name Verification Page |
| 919 | kMethodIDComplianceVerifyParentAndCertificate | Open Parent Real Name Verification Page |
| 1008 | kMethodIDUpdateModifyDownloadPriority | Set Download Priority |
| 1201 | kMethodIDLBSRequestIPInfo | Retrieve IP Region Information |
| 1301 | kMethodIDExtendInvoke | Extend Call |
| 1401 | kMethodIDDNSQueryIpByHost | DNS Query IP by Host |
| 1801 | kMethodIDDoDetectNetwork | Network Diagnosis |
| 1802 | kMethodIDStartUdpSocket | Start UDP Network Speed Test |
| 1804 | kMethodIDGetBestIP | Network Get Best IP |
| 1901 | kMethodIDShowGroupAgreementWindow | Activate Guild Permissions Popup Window |
| 1902 | kMethodIDShowGroupRoom | Activate Guild Page |
| 2001 | kMethodIDPermissionRequest | Permission Request Method ID |
| 2002 | kMethodIDPermissionCheck | Permission Check Method ID |
| 2003 | kMethodIDPermissionGotoSetting | Go to System Setting Method ID, no data return on iOS |
| 2004 | kMethodIDPermissionTrackingRequest | iOS Request Advertisement Tracking Permission Method ID |
| 2005 | kMethodIDPermissionTrackingCheck | iOS Check Advertisement Tracking Permission Method ID |
| 13100 | kLILoginEnterGame | Callback after successful login in OpenLoginPanel |
| 13101 | kLIAutoLoginEnterGame | Automatic login success/failure callback after auto login |
| 2303 | kMethodIDTranslatorTranslate | Translate Text |