/// <summary> /// 打开俱乐部信息面板 /// </summary> private void OpenClubInfoPanel() { //GameData.Tips = "该功能暂未开放!"; //UIManager.Instance.ShowUiPanel(UIPaths.PanelTips, OpenPanelType.MinToMax); ClientToServerMsg.GetClubInfo(GameData.CurrentClickClubInfo.ClubId); }
/// <summary> /// 获取俱乐部信息 /// </summary> private void GetClubInfo() { ClientToServerMsg.GetClubInfo((uint)DataInfo.Id); }
void Succeed(Opcodes op) { //Client_Apply_For_Club switch (op) { case Opcodes.Client_Apply_For_Club: GameData.ResultCodeStr = "申请发送成功"; UIManager.Instance.ShowUiPanel(UIPaths.PanelDialog, OpenPanelType.MinToMax); DzPanelJoinMoment.Instance.gameObject.SetActive(false); break; case Opcodes.Client_Club_Invite_Player: GameData.ResultCodeStr = "邀请成功"; UIManager.Instance.ShowUiPanel(UIPaths.PanelDialog, OpenPanelType.MinToMax); DzPanelJoinMomentInvite.Instance.gameObject.SetActive(false); break; case Opcodes.Client_Change_Club_Name: //改变俱乐部名称 GameData.ResultCodeStr = "修改成功"; ClientToServerMsg.GetClubList(); //申请俱乐部列表 ClientToServerMsg.GetClubInfo((uint)GameData.CurrentClubInfo.Id); //再次申请当前选的俱乐部的信息 ClubReNamePanelControl.Instance.gameObject.SetActive(false); ClubMastorControl.Instance.gameObject.SetActive(false); UIManager.Instance.ShowUiPanel(UIPaths.PanelDialog, OpenPanelType.MinToMax); break; case Opcodes.Client_Club_Config_AutoRoom: //开放配置返回 GameData.ResultCodeStr = "创建房间配置成功"; ClientToServerMsg.GetClubInfo((uint)GameData.CurrentClubInfo.Id); //再次申请当前选的俱乐部的信息 CreatRoomPanel.Instance.gameObject.SetActive(false); ClubMastorControl.Instance.gameObject.SetActive(false); UIManager.Instance.ShowUiPanel(UIPaths.PanelDialog, OpenPanelType.MinToMax); break; case Opcodes.Client_SetInviteGuid: GameData.ResultCodeStr = "绑定邀请人成功"; UIManager.Instance.ShowUiPanel(UIPaths.PanelDialog, OpenPanelType.MinToMax); UIManager.Instance.HideUiPanel(UIPaths.InvitePanel); // SoundManager.Instance.PlaySound(UIPaths.SOUND_CHARGE); break; case Opcodes.Client_ExchangDiamondToCard: GameData.ResultCodeStr = "兑换成功"; UIManager.Instance.ShowUiPanel(UIPaths.PanelDialog, OpenPanelType.MinToMax); // SoundManager.Instance.PlaySound(UIPaths.SOUND_CHARGE); break; //case Opcodes.Client_SendMoney: // GameData.ResultCodeStr = "转增成功!"; // UIManager.Instance.ShowUiPanel(UIPaths.ShowStringDialog, OpenPanelType.MinToMax); // SoundManager.Instance.PlaySound(UIPaths.SOUND_CHARGE); // break; //case Opcodes.Client_PlayerChooseWantPartnerResult: // UIManager.Instance.HideUiPanel(UIPaths.AskHuoZhuang); // break; //case Opcodes.Client_SetInviteGuid: // GameData.ResultCodeStr = "绑定代理人成功!"; // UIManager.Instance.ShowUiPanel(UIPaths.ShowStringDialog, OpenPanelType.MinToMax); // UIManager.Instance.HideUiPanel(UIPaths.AddRoom); // break; //case Opcodes.Client_ParentWantBackMoneyResult: // if (AskRecycleMoney.Instance != null) AskRecycleMoney.Instance.OnOperateSucceed(); // break; } }