Cocos Creator API

1.3.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

UserActionResultCode

: anysdk

The callback of user system

kInitSuccess Number

The callback of succeeding in initing sdk

kInitFail Number

The callback of failing to init sdk

kLoginSuccess Number

The callback of succeeding in login.

kLoginNetworkError Number

The callback of network error

kLoginNoNeed Number

The callback of no need login.

kLoginFail Number

The callback of failing to login

kLoginCancel Number

The callback of canceling to login.

kLogoutSuccess Number

The callback of succeeding in logout

kLogoutFail Number

The callback of failing to logout

kPlatformEnter Number

The callback after enter platform..

kPlatformBack Number

The callback after exit antiAddiction

kPausePage Number

The callback after exit pause page

kExitPage Number

The callback after exit page

kAntiAddictionQuery Number

The callback after querying antiAddiction

kRealNameRegister Number

The callback after registering realname

kAccountSwitchSuccess Number

The callback of succeeding in switching account

kAccountSwitchFail Number

The callback of failing to switch account

kOpenShop Number

The callback of opening the shop

kAccountSwitchCancel Number

The callback of canceling to switch account.

kUserExtension Number

extension code of user type

kSendToDesktopSuccess Number

The callback of succeeding in sending to desktop

kSendToDesktopFail Number

The callback of failing to sending to desktop

kGetAvailableLoginTypeSuccess Number

The callback of succeeding in getting available login type

kGetAvailableLoginTypeFail Number

The callback of failing to get available login type

kGetUserInfoSuccess Number

The callback of succeeding in getting user info

kGetUserInfoFail Number

The callback of failing in getting user`s info

kOpenBBSSuccess Number

The callback of succeeding in opening BBS.

kOpenBBSFail Number

The callback of failing in opening BBS

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index