public void logined_cb() { NeoGameSDK_login_data one = new NeoGameSDK_login_data(); one.uid = roleInfo.getInstance().uid; one.token = roleInfo.getInstance().token; one.lastlogin = roleInfo.getInstance().lastlogin; one.wallet = roleInfo.getInstance().wallet; //api的登入成功后回调函数 NeoGameSDK_CS.api_cb_login(one); }
//登入后获取钱包信息回调 private void on_get_wallet_file(bool need_password) { if (need_password) { panel_password.gameObject.SetActive(true); } else { panel_wallet.gameObject.SetActive(false); panel_phone.gameObject.SetActive(false); btn_main.gameObject.SetActive(true); //panel_main.gameObject.SetActive(true); on_refresh_info(); NeoGameSDK_login_data one = new NeoGameSDK_login_data(); one.uid = roleInfo.getInstance().uid; one.token = roleInfo.getInstance().token; one.lastlogin = roleInfo.getInstance().lastlogin; one.wallet = roleInfo.getInstance().wallet; //api的登入成功后回调函数 NeoGameSDK_CS.api_cb_login(one); } }