//踢出本馆
 public void BtnKickParlor()
 {
     NetMsg.ClientKickParlorReq msg = new NetMsg.ClientKickParlorReq();
     msg.iUserId     = GameData.Instance.PlayerNodeDef.iUserId;
     msg.iParlorId   = GameData.Instance.ParlorShowPanelData.iParlorId;
     msg.iKickUserId = useId;
     MahjongLobby_AH.Network.NetworkMgr.Instance.LobbyServer.SendKickParlorReq(msg);
     Destroy(gameObject);
 }
Example #2
0
        /// <summary>
        /// 馆主踢出成员
        /// </summary>
        void HandleKickMember()
        {
            ParlorShowPanelData pspd = GameData.Instance.ParlorShowPanelData;

            NetMsg.ClientKickParlorReq msg = new NetMsg.ClientKickParlorReq();
            msg.iUserId     = GameData.Instance.PlayerNodeDef.iUserId;
            msg.iParlorId   = pspd.iParlorId;
            msg.iKickUserId = pspd.iUserid_Seach;
            Network.NetworkMgr.Instance.LobbyServer.SendKickParlorReq(msg);
        }