예제 #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);
        }
예제 #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);
        }
예제 #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);
		}
예제 #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);
 }