Example #1
0
            public string ToString(ActorValueSkill.Mask <bool>?printMask = null)
            {
                var fg = new FileGeneration();

                ToString(fg, printMask);
                return(fg.ToString());
            }
Example #2
0
 public void ToString(FileGeneration fg, ActorValueSkill.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(ActorValueSkill.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         if (printMask?.UseMult ?? true)
         {
             fg.AppendItem(UseMult, "UseMult");
         }
         if (printMask?.OffsetMult ?? true)
         {
             fg.AppendItem(OffsetMult, "OffsetMult");
         }
         if (printMask?.ImproveMult ?? true)
         {
             fg.AppendItem(ImproveMult, "ImproveMult");
         }
         if (printMask?.ImproveOffset ?? true)
         {
             fg.AppendItem(ImproveOffset, "ImproveOffset");
         }
     }
     fg.AppendLine("]");
 }
Example #3
0
            public Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new ActorValueSkill.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }