internal void Write(Writer writer) { writer.WriteRSDKString(GameName); writer.WriteRSDKString(DataString); writer.WriteRSDKString(Disclaimer); this.WriteObjectsNames(writer); writer.Write((byte)Globals.Count); for (int i = 0; i < Globals.Count; i++) { Globals[i].Write(writer); } this.WriteWAVConfiguration(writer); writer.Write((byte)Players.Count); for (int i = 0; i < Players.Count; ++i) { Players[i].Write(writer); } Scenes.Write(writer); writer.Write((byte)0); writer.Close(); }
internal void Write(Writer writer) { writer.WriteRSDKString(GameName); writer.WriteRSDKString(DataString); writer.WriteRSDKString(GameSubname); this.WriteObjectsNames(writer); writer.Write((byte)Globals.Count); for (int i = 0; i < Globals.Count; i++) { Globals[i].Write(writer); } this.WriteWAVConfiguration(writer); Stages.Write(writer); writer.Write((byte)0); writer.Close(); }