private void ResponseSwitchStage(ScTeamPveSwitchStage msg)
 {
     if (msg.result != 0)
     {
         moduleGlobal.ShowMessage(9807, msg.result);
         return;
     }
     Index = taskList.FindIndex(item => item.taskConfigInfo.ID == msg.stageId);
 }
    private void _Packet(ScTeamPveSwitchStage msg)
    {
        if (msg.result == 0)
        {
            StageId = msg.stageId;
        }

        DispatchModuleEvent(Response_SwitchStage, msg);
        moduleGlobal.UnLockUI();
    }
Example #3
0
 private void ResponseSwitchStage(ScTeamPveSwitchStage msg)
 {
     if (msg.result != 0)
     {
         moduleGlobal.ShowMessage(9807, msg.result);
         return;
     }
     if (Window_TeamMatch.IsChooseStage)
     {
         ShowAsync <Window_TeamMatch>();
     }
 }