Ejemplo n.º 1
0
 public MultiCombatEventMissionProcessor(MissionConductor parent) : base(parent)
 {
     this.successes      = new List <string>();
     this.startingValues = new Dictionary <string, int>();
     foreach (ConditionVO current in parent.MissionVO.Conditions)
     {
         this.startingValues.Add(current.Uid, 0);
     }
 }
Ejemplo n.º 2
0
        public static AbstractMissionProcessor CreateProcessor(MissionConductor mission, CampaignMissionVO vo)
        {
            switch (vo.MissionType)
            {
            case MissionType.Attack:
                return(new OffensiveCombatMissionProcessor(mission));

            case MissionType.Defend:
            case MissionType.RaidDefend:
                return(new DefensiveCombatMissionProcessor(mission));

            case MissionType.Own:
                return(new OwnMissionProcessor(mission));

            case MissionType.Event:
                return(new MultiCombatEventMissionProcessor(mission));

            case MissionType.Pvp:
                return(new PvpStarsMissionProcessor(mission));
            }
            return(new AbstractMissionProcessor(mission));
        }
 public OffensiveCombatMissionProcessor(MissionConductor parent) : base(parent)
 {
 }
 public AbstractMissionProcessor(MissionConductor parent)
 {
     this.parent = parent;
 }
Ejemplo n.º 5
0
 public OwnMissionProcessor(MissionConductor parent) : base(parent)
 {
 }
Ejemplo n.º 6
0
 public PvpStarsMissionProcessor(MissionConductor parent) : base(parent)
 {
     this.eventManager = Service.EventManager;
 }