public UnitTypeBuffWrapper(UnitTypeBuff other) { UnitType = other.UnitType; UseAsPrefix = other.UseAsPrefix; UnitClass = other.UnitClass; ClassOperator = other.ClassOperator; BuffSet = other.BuffSet; }
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)); } } }