Пример #1
0
 public UnitTypeBuffWrapper(UnitTypeBuff other)
 {
     UnitType      = other.UnitType;
     UseAsPrefix   = other.UseAsPrefix;
     UnitClass     = other.UnitClass;
     ClassOperator = other.ClassOperator;
     BuffSet       = other.BuffSet;
 }
Пример #2
0
 protected void OutputForUnitTypeBuff(UnitTypeBuff buff)
 {
     using (BeginScope())
     {
         Print($"classOperator: {buff.ClassOperator}");
         Print($"unitClass: {buff.UnitClass}");
         Print($"unitType: {buff.UnitType}");
         Print($"useAsPrefix: {buff.UseAsPrefix}");
         using (BeginScope($"buffSet"))
         {
             OutputForAttributeBuffSet(new AttributeBuffSetWrapper(buff.BuffSet));
         }
     }
 }