Example #1
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     this.self = self;
     this.info = info;
     if (!info.Units.Any())
         throw new YamlException("A GiveUnitCrateAction does not specify any units to give. This might be because the yaml is referring to 'Unit' rather than 'Units'.");
 }
Example #2
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     this.self = self;
     this.info = info;
     if (!info.Units.Any())
     {
         throw new YamlException("A GiveUnitCrateAction does not specify any units to give. This might be because the yaml is referring to 'Unit' rather than 'Units'.");
     }
 }
Example #3
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }
Example #4
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }