示例#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'.");
 }
示例#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'.");
     }
 }
示例#3
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }
示例#4
0
 public GiveUnitCrateAction(Actor self, GiveUnitCrateActionInfo info)
     : base(self, info)
 {
     Info = info;
 }