Пример #1
0
            public void WriteData(MyData.Writer writer)
            {
                writer.String(Name, "name");
                writer.Int(Size, "size");
                writer.String(Seed, "seed");

                writer.Structure(Biome, "biome");
                writer.Structure(Deposits, "deposits");
                writer.Structure(Rooms, "rooms");
                writer.Structure(CA, "ca");
                writer.Structure(PlayerChars, "playerChars");
            }
Пример #2
0
 public void WriteData(MyData.Writer writer)
 {
     writer.String(Name.Value, "name");
     writer.Int((int)Gender.Value, "gender");
     writer.Int(AppearanceIndex.Value, "appearanceIndex");
 }
Пример #3
0
 public virtual void WriteData(MyData.Writer writer)
 {
     writer.Bool(IsEmergency, "isEmergency");
     writer.String(SuccessMessage, "successMessage");
 }