public static MissionView[] OpenTeamDeathmatchMission(Mission mission)
    {
        List <MissionView> list = new List <MissionView>();

        list.Add(ViewCreator.CreateLobbyUIHandler());
        list.Add(ViewCreator.CreateMissionMultiplayerPreloadView(mission));
        list.Add(ViewCreator.CreateMultiplayerTeamSelectUIHandler());
        list.Add(ViewCreator.CreateMissionKillNotificationUIHandler());
        list.Add(ViewCreator.CreateMissionAgentStatusUIHandler(mission));
        list.Add(ViewCreator.CreateMissionMainAgentEquipmentController(mission));
        list.Add(ViewCreator.CreateMissionMultiplayerEscapeMenu("PeaceGameMode"));
        list.Add(ViewCreator.CreateMissionScoreBoardUIHandler(mission, false));
        list.Add(ViewCreator.CreateMultiplayerEndOfRoundUIHandler());
        list.Add(ViewCreator.CreateLobbyEquipmentUIHandler());
        list.Add(ViewCreator.CreateMissionAgentLabelUIHandler(mission));
        list.Add(ViewCreator.CreatePollInitiationUIHandler());
        list.Add(ViewCreator.CreatePollProgressUIHandler());
        list.Add(ViewCreator.CreateMissionFlagMarkerUIHandler());
        list.Add(ViewCreator.CreateMultiplayerMissionHUDExtensionUIHandler());
        list.Add(ViewCreator.CreateMultiplayerMissionDeathCardUIHandler(null));
        list.Add(ViewCreator.CreateOptionsUIHandler());
        if (!GameNetwork.IsClient)
        {
            list.Add(ViewCreator.CreateMultiplayerAdminPanelUIHandler());
        }

        list.Add(ViewCreator.CreateMissionBoundaryCrossingView());
        list.Add(new MissionBoundaryWallView());
        list.Add(new MissionItemContourControllerView());
        list.Add(new MissionAgentContourControllerView());
        return(list.ToArray());
    }
Ejemplo n.º 2
0
        public static MissionView[] OpenTestMission(Mission mission)
        {
            List <MissionView> missionViewList = new List <MissionView>();

            missionViewList.Add(ViewCreator.CreateMissionAgentStatusUIHandler(mission));
            // missionViewList.Add(ViewCreator.CreateMissionAgentLabelUIHandler(mission));
            missionViewList.Add(ViewCreator.CreateOrderTroopPlacerView(mission));
            // missionViewList.Add(ViewCreator.CreateMissionScoreBoardUIHandler(mission, false));
            missionViewList.Add(ViewCreator.CreateMissionKillNotificationUIHandler());
            missionViewList.Add((MissionView) new MissionItemContourControllerView());
            missionViewList.Add((MissionView) new MissionAgentContourControllerView());
            missionViewList.Add(ViewCreator.CreateMissionFlagMarkerUIHandler());
            // missionViewList.Add(ViewCreator.CreateOptionsUIHandler());
            // missionViewList.Add(ViewCreator.CreateMissionBoundaryCrossingView());
            // missionViewList.Add((MissionView) new MissionBoundaryWallView());
            // missionViewList.Add((MissionView) new SpectatorCameraView());
            missionViewList.Add(ViewCreator.CreateMissionOrderUIHandler());
            missionViewList.Add(new CaptureTheBannerLordMissionView(mission));
            return(missionViewList.ToArray());
        }