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