public void OnResetlvl(Variant data) { bool flag = data.ContainsKey("succ"); if (flag) { Variant variant = new Variant(); Variant variant2 = new Variant(); variant2["exp"] = data["succ"]["exp"]; variant["level"] = data["succ"]["level"]; variant["pinfo"] = variant2; (this.g_mgr.g_gameM as muLGClient).g_selfPlayer.on_lvl_up(variant); (this.g_mgr.g_gameM as muLGClient).g_selfPlayer.data["resetlvl"] = data["succ"]["resetlvl"]; (this.g_mgr.g_gameM as muLGClient).g_selfPlayer.SetResetName(); (this.g_mgr.g_gameM as muLGClient).g_selfPlayer.modAttPt(data["succ"]["att_pt"]); (this.g_mgr.g_gameM as muLGClient).g_missionCT.acceptable_refault(); LGIUISystemOpen lGIUISystemOpen = this.g_mgr.g_uiM.getLGUI("UI_SYSTEMOPEN") as LGIUISystemOpen; lGIUISystemOpen.OnResetlvl(data["succ"]["resetlvl"]); LGIUIShop lGIUIShop = this.g_mgr.g_uiM.getLGUI("shop") as LGIUIShop; lGIUIShop.OnResetlvl(); LGIUITransfer lGIUITransfer = this.g_mgr.g_uiM.getLGUI("mdlg_transfer") as LGIUITransfer; lGIUITransfer.ReflushTransfer(); } LGIUITranlive lGIUITranlive = this.g_mgr.g_uiM.getLGUI("mdlg_tranlive") as LGIUITranlive; lGIUITranlive.OnResetlvl(data); }
public void show_trans_icon() { bool flag = this.CanShowIcon(); if (flag) { LGIUITransfer lGIUITransfer = this.g_mgr.g_uiM.getLGUI("mdlg_transfer") as LGIUITransfer; lGIUITransfer.show_trans_icon(true); } }