private void GoToScene(uint mapId) { if (MeVo.instance.vigour >= BaseDataMgr.instance.GetMapVo(mapId).vigour) { LocalVarManager.SetInt(LocalVarManager.COPY_WORLD_ID, (int)(MeVo.instance.mapId)); Singleton <MapMode> .Instance.changeScene(mapId, false, 5, 1.8f); // this.CloseView (); //在loading界面打开后再关闭 // Singleton<DaemonIslandView>.Instance.CloseView(); } else { OpenBuyVigourTips(); } }
//接收频道,私聊频道勾选/去掉勾选 private void SL_RecChannelSetOnStateChange(bool state) { Log.info(this, "勾选私聊频道接收?" + state); LocalVarManager.SetInt(LocalVarManager.CHAT_REC_SL_CHANNEL, (int)(state ? ReceiveState.RECEIVE : ReceiveState.REJECT)); }