Exemplo n.º 1
0
 protected void ChangeCityByIntegrationHearth(int sceneID)
 {
     if (!MySceneManager.IsSceneResourceAvailable(sceneID))
     {
         DialogBoxUIViewModel.Instance.ShowAsConfirm(GameDataUtils.GetChineseContent(3060001, false), GameDataUtils.GetChineseContent(3060002, false), delegate
         {
             UIManagerControl.Instance.HideUI("CitySelectUI");
             OperateActivityManager.Instance.CheckUpdateMaxLevel();
         }, GameDataUtils.GetChineseContent(3060003, false), "button_orange_1", null);
         return;
     }
     NetworkManager.Send(new EnterMainCityReq
     {
         cityId = sceneID
     }, ServerType.Data);
 }