Ignore:
Timestamp:
Aug 9, 2017, 7:43:07 PM (7 years ago)
Author:
alloc
Message:

Fixes 14_16_21

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/JSON/JSONNode.cs

    r187 r309  
    11using System;
     2using System.Text;
    23
    34namespace AllocsFixes.JSON
     
    56        public abstract class JSONNode
    67        {
    7                 public abstract string ToString(bool prettyPrint = false, int currentLevel = 0);
     8                public abstract void ToString(StringBuilder stringBuilder, bool prettyPrint = false, int currentLevel = 0);
     9
     10                public override string ToString () {
     11                        StringBuilder sb = new StringBuilder ();
     12                        ToString (sb);
     13                        return sb.ToString ();
     14                }
    815        }
    916}
    10 
Note: See TracChangeset for help on using the changeset viewer.