Ejemplo n.º 1
0
    /// <summary>
    /// 同意解散请求
    /// </summary>
    private void ConfirmDisloveHandler()
    {
        var disloveC2S = new DissloveRoomConfirmC2S();

        NetMgr.Instance.SendBuff(SocketType.BATTLE, MsgNoC2S.C2S_ROOM_Comfirm_Dissolve.GetHashCode(), 0, disloveC2S, true);
        UIManager.Instance.HideUI(UIViewID.DISLOVE_APPLY_VIEW);
        Debug.Log("已发送同意解散房间。。。");
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 同意解散请求
    /// </summary>
    private void ConfirmDisloveHandler()
    {
        var disloveC2S = new DissloveRoomConfirmC2S();

        NetMgr.Instance.SendBuff(SocketType.BATTLE, MsgNoC2S.DISSLOVEROOM_CONFIRM_C2S.GetHashCode(), 0, disloveC2S, false);
        //UIManager.Instance.HideUI(UIViewID.DISLOVE_APPLY_VIEW);
        ViewRoot.SetActive(false);
    }