Exemplo n.º 1
0
        public EmitInfantryOnSell(Actor self, EmitInfantryOnSellInfo info)
        {
            this.info = info;
            var factionsList = info.Factions;

            correctFaction = factionsList.Count == 0 || factionsList.Contains(self.Owner.Faction.InternalName);
        }
Exemplo n.º 2
0
        public EmitInfantryOnSell(Actor self, EmitInfantryOnSellInfo info)
        {
            this.info = info;
            var raceList = info.Races;

            correctRace = raceList.Length == 0 || raceList.Contains(self.Owner.Country.Race);
        }
Exemplo n.º 3
0
		public EmitInfantryOnSell(Actor self, EmitInfantryOnSellInfo info)
		{
			this.info = info;
			var factionsList = info.Factions;
			correctFaction = factionsList.Count == 0 || factionsList.Contains(self.Owner.Faction.InternalName);
		}
Exemplo n.º 4
0
 public EmitInfantryOnSell(Actor self, EmitInfantryOnSellInfo info)
 {
     this.info = info;
     var raceList = info.Races;
     correctRace = raceList.Length == 0 || raceList.Contains(self.Owner.Country.Race);
 }