public int KickType; //成员提出类型 //取消申请麻将馆信息 public void BtnCanelApplyParlor() { NetMsg.ClientCAncelApplyOrJudgeApplyTooReq msg = new NetMsg.ClientCAncelApplyOrJudgeApplyTooReq(); msg.iUserId = GameData.Instance.PlayerNodeDef.iUserId; msg.iParlorId = GameData.Instance.ParlorShowPanelData.iParlorId; msg.iType = 2; NetworkMgr.Instance.LobbyServer.SendClientCAncelApplyOrJudgeApplyTooReq(msg); }
/// <summary> /// 取消申请加入麻将馆 /// </summary> public void BtnCanelParlor() { NetMsg.ClientCAncelApplyOrJudgeApplyTooReq msg = new NetMsg.ClientCAncelApplyOrJudgeApplyTooReq(); msg.iUserId = GameData.Instance.PlayerNodeDef.iUserId; msg.iParlorId = iParlorId; msg.iType = 2; Network.NetworkMgr.Instance.LobbyServer.SendClientCAncelApplyOrJudgeApplyTooReq(msg); //关闭玩家界面 Destroy(gameObject); }
/// <summary> /// 点击广场中的麻将馆信息 /// </summary> public void BtnParlorGodParlor() { if (status == 1) { //发送该馆的申请详情 NetMsg.ClientCAncelApplyOrJudgeApplyTooReq msg = new NetMsg.ClientCAncelApplyOrJudgeApplyTooReq(); msg.iUserId = GameData.Instance.PlayerNodeDef.iUserId; msg.iParlorId = InfoDef.iParlorId; msg.iType = 1; Network.NetworkMgr.Instance.LobbyServer.SendClientCAncelApplyOrJudgeApplyTooReq(msg); GameData.Instance.ParlorShowPanelData.InfoDef_PointParlor = InfoDef; } }