public string ToWriteString() { StringBuilder builder = new StringBuilder(); builder.AppendLineUnix("\tNouse: {"); if (Override != "100") { builder.AppendLineUnix("\t\toverride: " + Override); } if (Sitting != "false") builder.AppendLineUnix("\t\tsitting: true"); builder.Append("\t}"); return builder.ToString(); }
public override string ToString() { StringBuilder builder = new StringBuilder(); builder.AppendLineUnix("{"); if (Override != "100") { builder.AppendLineUnix("override: " + Override); } if (Sitting != "false") builder.AppendLineUnix("sitting: true"); builder.Append("}"); return builder.ToString(); }