Example #1
0
    private void ResponseCancelMatch(ScTeamPveCancelMatch msg)
    {
        Hide();

        if (msg.result != 0)
        {
            moduleGlobal.ShowMessage(9804, msg.result);
        }
    }
    private void _Packet(ScTeamPveCancelMatch msg)
    {
        moduleGlobal.UnLockUI();
        if (msg.result == 0)
        {
            ClearMatchInfo();
        }

        DispatchModuleEvent(Response_CancelMatch, msg);
    }