Exemplo n.º 1
0
    private void ResponseStartMatch(ScTeamPveStartMatch msg)
    {
        if (msg.result != 0)
        {
            moduleGlobal.ShowMessage(9805, msg.result);
            if (!taskConfirmWindow.isInit)
            {
                Hide();
            }
            return;
        }

        if (taskConfirmWindow)
        {
            taskConfirmWindow.UnInitialize();
        }

        matchWindow.Initialize(msg.countDown + Time.realtimeSinceStartup);
    }
Exemplo n.º 2
0
    private void _Packet(ScTeamPveStartMatch msg)
    {
        moduleGlobal.UnLockUI();

        DispatchModuleEvent(Response_StartMatch, msg);
    }