Skip to main content

Overview

The client API references provide detailed information for the data structures and methods in Player Network SDK, which contains a wide range of function modules to support the game account system and game operations. Choose the required module from the left sidebar to view the list of available APIs. Use the following list to find the method ID for the respective API.

Method names

MethodIDkMethodIDDescription
000kMethodIDUndefineUndefined
101kMethodIDAuthAutoLoginAutomatic login
102kMethodIDAuthLoginAuthorized login
103kMethodIDAuthBindLink
104kMethodIDAuthGetAuthResultGet login state
106kMethodIDAuthQueryUserInfoGet personal information
107kMethodIDAuthLogoutLogout
108kMethodIDAuthLoginWithConfirmCodeLogin with confirmation code
109kMethodIDAuthWakeUpWakeup account
111kMethodIDAuthResetGuestReset guest account
112kMethodIDAuthQueryCanBindQuery if linking is allowed
113kMethodIDAuthQueryActiveUserQuery available users
114kMethodIDAuthShowAccountPickerShow user list
115kMethodIDAuthCheckActiveUserCheck if user is available
116kMethodIDAuthNeedRefreshUserRefresh user
117kMethodIDAuthRequestVerifyCodeGet verification code
118kMethodIDAuthResetPasswordReset password
119kMethodIDAuthModifyAccountModify account information
121kMethodIDAuthQueryRegisterStatusGet registration status
122kMethodIDAuthQueryVerifyCodeStatusGet verification code status
123kMethodIDAuthQueryIsReceiveEmailQuery whether email was received
124kMethodIDAuthRegisterRegister account
125kMethodIDAuthModifyProfileModify personal information
126kMethodIDAuthLoginWithBoundChannelLog in with linked channel
127kMethodIDAuthBindWithLoggedinChannelLink logged-in channel
128kMethodIDAuthLoginWithMappedChannelLog in with mapped channel
129kMethodIDAuthBuildMapWithLoggedinChannelMap logged-in channel
130kMethodIDAuthQueryIDTokenQuery token ID
132kMethodIDAuthUnbindUnlink
133kMethodIDAuthQueryUsernameStatusQuery username status
134kMethodIDAuthQueryDataProtectionAcceptanceQuery data protection acceptance
135kMethodIDAuthModifyDataProtectionAcceptanceModify data protection acceptance
136kMethodIDAuthQueryAccountProfileQuery account information
138kMethodIDAuthQueryLegalDocumentsQuery legal document information
139kMethodIDAuthModifyLegalDocumentsModify legal document information
140kMethodIDAuthQueryBindInfoGet linking information
144kMethodIDAuthGenerateTransferCodeGenerate transfer code
145kMethodIDAuthQueryTransferCodeQuery transfer code
146kMethodIDAuthTransferAccountTransfer account
147kMethodIDAuthRevokeChannelTokenAPI for revoking channel token
153kMethodIDAuthQueryAccountRegistrationInfoCheck the status of the custom account and LI PASS registered by email/mobile phone
154kMethodIDAuthLoginUsingPluginCacheLogin using cache
155kMethodIDAuthChangeIsReceiveEmailSet whether to accept mail
156kMethodIDAuthCancelLIAccountDeletionCancel LI PASS deletion
158kMethodIDAuthUpgradeSaccToLIUpgrade account to LI PASS
159kMethodIDAuthGetLIUidAndTokenForCertObtain the account information of LI PASS
160kMethodIDAuthLoginWithVerifyCodeLogin With verify code
161kMethodIDAuthBindWithVerifyCodeLink with verify code
162kMethodIDAuthBindUsingPluginCacheLink with plugin cache
163kMethodIDAuthAutoLoginForLICustom LI PASS automatic login
164kMethodIDAuthLoginForLICustom LI PASS authorized login
165kMethodIDAuthQueryNeedUpgradeAndProvisionInfoQuery whether the custom account linked to the OpenID in the login state needs to be upgraded to an LI PASS
166kMethodIDAuthSetProvisionSave the version of the terms the player agreed to
167kMethodIDAuthCancelLoginCancel Login
201kMethodIDFriendShareShare
202kMethodIDFriendSendMessageSend message
203kMethodIDFriendQueryFriendsGet friend list
301kMethodIDWebViewURLCloseClose webpage
302kMethodIDWebviewGetEncryptURLGet login state encryption ticket
303kMethodIDWebViewJsCallNative call JS
401kMethodIDPushRegisterRegister push
402kMethodIDPushUnregisterUnregister push
403kMethodIDPushSetTagRegister tag
404kMethodIDPushDeleteTagUnregister tag
405kMethodIDPushAddLocalNotificationRegister local push
406kMethodIDPushClearLocalNotificationsClear local push
407kMethodIDPushNotificationCallbackPush callback
412kMethodIDPushDeleteLocalNotificationsDelete local push
501kMethodIDNoticeRequestDataGet notice data
603kMethodIDToolsLoadCutoutDataQuery asynchronous notched display information
701kMethodIDAnalyticsCrashExtraMessageAdditional crash logs
703kMethodIDAnalyticsQueryDeviceLevelQuery device level
704kMethodIDAnalyticsRequestTrackingAuthorizationApply for tracking authorization
706kMethodIDAnalyticsReportEventReport event
707kMethodIDAnalyticsReportBinaryBinary report
708kMethodIDAnalyticsGetInstanceIDGet instance ID
709kMethodIDAnalyticsSetDeviceLevelSet device level
710kMethodIDAnalyticsGetDeviceLevelGet device level
711kMethodIDAnalyticsReportLoginStepSteps of reporting login event
712kMethodIDAnalyticsReportPayStepSteps of reporting payment event
713kMethodIDAnalyticsReportCustomEventStepSteps of reporting custom event
720kMethodIDAnalyticsPostFrameTimeInSessionFrame time data report
721kMethodIDAnalyticsMarkSessionLoadSession start marker
722kMethodIDAnalyticsSetSessionExtraParamAdd custom report content
724kMethodIDAnalyticsMarkSessionClosedSession end marker
725kMethodIDAnalyticsPostNetworkLatencyInSessionGame logic network latency report
730kMethodIDAnalyticsLogCrashInfoCustom log printing
731kMethodIDAnalyticsSetCrashUserValueSet key data
732kMethodIDAnalyticsSetCrashUserIdSet the reporting user ID
733kMethodIDAnalyticsReportExceptionReport exception information
901kMethodIDComplianceSetUserProfileSet user demographics
902kMethodIDComplianceQueryUserStatusQuery minor information
903kMethodIDComplianceSetAdulthoodSet if user is adult
904kMethodIDComplianceSetEUAgreeStatusSet the EU region user data transmission protocol
905kMethodIDComplianceSendEmailSend parent consent verification email
906kMethodIDComplianceCommitBirthdaySubmit user birth month/year
907kMethodIDComplianceSetParentCertificateStatusSet parent consent verification status
908kMethodIDComplianceQueryIsEEAQuery if it is an EEA country
909kMethodIDComplianceVerifyCreditCardOpen credit card verification page
916kMethodIDComplianceVerifyRealNameOpen real-name verification page
919kMethodIDComplianceVerifyParentAndCertificateOpen real-name verification page for parent
1008kMethodIDUpdateModifyDownloadPriorityModify download priority
1201kMethodIDLBSRequestIPInfoGet region information for IP address
1301kMethodIDExtendInvokeExtended call
1401kMethodIDDNSQueryIpByHostDNS queries IP address by host
1801kMethodIDDoDetectNetworkNetwork diagnostics
1802kMethodIDStartUdpSocketStart Udp Socket
1804kMethodIDGetBestIPGet best IP for network
1901kMethodIDShowGroupAgreementWindowOpen guild permission pop-up
1902kMethodIDShowGroupRoomOpen guild page
2001kMethodIDPermissionRequestRequest permission method ID
2002kMethodIDPermissionCheckCheck permission method ID
2003kMethodIDPermissionGotoSettingGo to system settings to configure method ID, with no data returned for iOS
2004kMethodIDPermissionTrackingRequestiOS requests ad tracking permission method ID
2005kMethodIDPermissionTrackingCheckiOS checks ad tracking permission method ID
13100kLILoginEnterGameCallback for successful login after OpenLoginPanel
13101kLIAutoLoginEnterGameCallback for automatic login success/failure after AutoLogin
2303kMethodIDTranslatorTranslateTranslate Texts