private static void SDKLoginCallBack(OnLoginInfo info) { SDKManager.LoginCallBack -= SDKLoginCallBack; if (OnSDKLoginCallBack != null) { OnSDKLoginCallBack(info); } if (info.isSuccess) { UserLogin2Server msg = UserLogin2Server.GetLoginMessage(info.loginPlatform, info.accountId, info.password); SendLoginMsg(msg); } }
private static void SDKLoginCallBack(OnLoginInfo info) { SDKManager.LoginCallBack -= SDKLoginCallBack; if (OnSDKLoginCallBack != null) { OnSDKLoginCallBack(info); } if (info.isSuccess) { isClickLogin = true; PlayerLoginPlatform = info.loginPlatform; UserLogin2Server msg = UserLogin2Server.GetLoginMessage(info.loginPlatform, info.accountId, info.password, activationCode); SendLoginMsg(msg); } }