public Write ( System.DateTime value ) : void | ||
value | System.DateTime | DateTime to be written |
Результат | void |
public void Write(ParadoxStreamWriter writer) { if (Name != null) { writer.WriteLine("name", Name, ValueWrite.Quoted); } if (Leader != null) { writer.Write("leader", Leader); } foreach(var val in Units) { writer.Write("unit", val); } if (Attachments != null) { writer.Write("attachments", w => { foreach (var val in Attachments) { w.Write(String.Empty, val); } }); } }
public void Write(ParadoxStreamWriter writer) { writer.Write("setgameplayoptions={ "); foreach (var option in options) { writer.Write(option); writer.Write(" "); } writer.WriteLine("}"); }
public void Write(ParadoxStreamWriter writer) { foreach (var evt in EventNames) writer.WriteLine("id", evt, ValueWrite.Quoted); foreach (var evt in EventIds) writer.Write("id", evt); }
public void Write(ParadoxStreamWriter writer) { if (Name != null) { writer.WriteLine("name", Name, ValueWrite.Quoted); } writer.WriteLine("tax", Tax); foreach(var val in Cores) { writer.WriteLine("add_core", val); } if (TopProvinces != null) { writer.Write("top_provinces={ "); foreach (var val in TopProvinces) { writer.Write(val, ValueWrite.Quoted); writer.Write(" "); } writer.WriteLine("}"); } foreach(var val in Armies) { writer.Write("army", val); } }