Exemplo n.º 1
0
 public ProduceActorPower(ActorInitializer init, ProduceActorPowerInfo info)
     : base(init.Self, info)
 {
     faction  = init.GetValue <FactionInit, string>(init.Self.Owner.Faction.InternalName);
     autoFire = info.AutoFire;
     key      = info.AllowMultiple ? info.OrderName + "_" + init.Self.ActorID : info.OrderName;
 }
Exemplo n.º 2
0
 public ProduceActorPower(ActorInitializer init, ProduceActorPowerInfo info)
     : base(init.Self, info)
 {
     faction = init.GetValue <FactionInit, string>(init.Self.Owner.Faction.InternalName);
 }
 public ProduceActorPower(ActorInitializer init, ProduceActorPowerInfo info)
     : base(init.Self, info)
 {
     faction = init.Contains <FactionInit>() ? init.Get <FactionInit, string>() : init.Self.Owner.Faction.InternalName;
 }
Exemplo n.º 4
0
		public ProduceActorPower(ActorInitializer init, ProduceActorPowerInfo info)
			: base(init.Self, info)
		{
			faction = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
		}