コード例 #1
0
            public string ToString(ANpcSpawn.Mask <bool>?printMask = null)
            {
                var fg = new FileGeneration();

                ToString(fg, printMask);
                return(fg.ToString());
            }
コード例 #2
0
            public new Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new ANpcSpawn.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }
コード例 #3
0
 public void ToString(FileGeneration fg, ANpcSpawn.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(ANpcSpawn.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
     }
     fg.AppendLine("]");
 }
コード例 #4
0
 public static string ToString(
     this IANpcSpawnGetter item,
     string?name = null,
     ANpcSpawn.Mask <bool>?printMask = null)
 {
     return(((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).ToString(
                item: item,
                name: name,
                printMask: printMask));
 }
コード例 #5
0
 public static void ToString(
     this IANpcSpawnGetter item,
     FileGeneration fg,
     string?name = null,
     ANpcSpawn.Mask <bool>?printMask = null)
 {
     ((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).ToString(
         item: item,
         fg: fg,
         name: name,
         printMask: printMask);
 }