internal void Write(Writer writer)
        {
            Name.Write(writer);

            writer.Write((byte)(Attributes.Count + 1));
            foreach (AttributeInfo attribute in Attributes)
            {
                attribute.Write(writer);
            }

            writer.Write((ushort)Entities.Count);
            foreach (SceneEntity entity in Entities)
            {
                entity.Write(writer);
            }
        }
Esempio n. 2
0
 internal void Write(Writer writer)
 {
     Name.Write(writer);
     writer.Write((byte)Type);
 }