예제 #1
0
 public ProduceActorPowerCA(ActorInitializer init, ProduceActorPowerCAInfo info)
     : base(init.Self, info)
 {
     faction = init.Contains <FactionInit>() ? init.Get <FactionInit, string>() : init.Self.Owner.Faction.InternalName;
 }
예제 #2
0
 public ProduceActorPowerCA(ActorInitializer init, ProduceActorPowerCAInfo info)
     : base(init.Self, info)
 {
     faction = init.GetValue <FactionInit, string>(init.Self.Owner.Faction.InternalName);
 }