예제 #1
0
 public void ToString(FileGeneration fg, PerkAbilityEffect.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(PerkAbilityEffect.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         if (printMask?.Ability ?? true)
         {
             fg.AppendItem(Ability, "Ability");
         }
     }
     fg.AppendLine("]");
 }