source: binary-improvements/7dtd-server-fixes/src/JSON/JSONNode.cs@ 355

Last change on this file since 355 was 351, checked in by alloc, 6 years ago

Fixed game version compatibility of GamePrefs
Code style cleanup (mostly argument names)

File size: 333 bytes
RevLine 
[309]1using System.Text;
[154]2
[325]3namespace AllocsFixes.JSON {
4 public abstract class JSONNode {
[351]5 public abstract void ToString (StringBuilder _stringBuilder, bool _prettyPrint = false, int _currentLevel = 0);
[309]6
7 public override string ToString () {
8 StringBuilder sb = new StringBuilder ();
9 ToString (sb);
10 return sb.ToString ();
11 }
[154]12 }
[309]13}
Note: See TracBrowser for help on using the repository browser.