public string ToString(ANpcSpawn.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString(fg, printMask); return(fg.ToString()); }
public new Mask <R> Translate <R>(Func <TItem, R> eval) { var ret = new ANpcSpawn.Mask <R>(); this.Translate_InternalFill(ret, eval); return(ret); }
public void ToString(FileGeneration fg, ANpcSpawn.Mask <bool>?printMask = null) { fg.AppendLine($"{nameof(ANpcSpawn.Mask<TItem>)} =>"); fg.AppendLine("["); using (new DepthWrapper(fg)) { } fg.AppendLine("]"); }
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)); }
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); }