public void onNeedUpdate(string result) { Debug.Log("GamePotEventListener::onNeedUpdate-" + result); NAppStatus status = JsonMapper.ToObject <NAppStatus>(result); if (!string.IsNullOrEmpty(status.resultPayload)) { status.userInfo = JsonMapper.ToObject <NUserInfo>(status.resultPayload); } if (cbLogin != null) { cbLogin(NCommon.ResultLogin.NEED_UPDATE, null, status); } else { if (GamePotInterface != null) { GamePotInterface.onNeedUpdate(status); } } }