示例#1
0
		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();
		}
示例#2
0
		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();
		}