예제 #1
0
        public VUnit(VLoadout loadout, UnitType unitType) : base(loadout)
        {
            UnitData = GetUnitData(unitType);

            if (!loadout.Units.Contains(this) && unitType != UnitType.None)
            {
                loadout.Units.Add(this);
            }

            if (unitType == UnitType.None)
            {
                loadout.DeregisterChild(this);
            }

            loadout.CurrentUnit = this;
        }
 public VUnitConfiguration(VLoadout loadout) : base(loadout)
 {
 }
예제 #3
0
 public VIncomeManager(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }
예제 #4
0
 public static VUnit New(UnitType type, VLoadout loadout)
 {
     return((VUnit)BizoCreator.Create(typeof(VUnit), "Unit", loadout, type));
 }
 public VGemCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }
 public VLoadoutSouls(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout ?? throw new ArgumentException(nameof(loadout));
 }
 public VChallengePointCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }
 public VStats(VLoadout loadout)
 {
     Loadout = loadout;
 }
예제 #9
0
 public VPerkCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout ?? throw new ArgumentException(nameof(loadout));
 }
예제 #10
0
 public VModsCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }