public override void Serialize(IDataWriter writer)
        {
            base.Serialize(writer);
            writer.WriteShort(((short)(m_mountsInformations.Count)));
            int mountsInformationsIndex;

            for (mountsInformationsIndex = 0; (mountsInformationsIndex < m_mountsInformations.Count); mountsInformationsIndex = (mountsInformationsIndex + 1))
            {
                MountInformationsForPaddock objectToSend = m_mountsInformations[mountsInformationsIndex];
                objectToSend.Serialize(writer);
            }
            writer.WriteInt(m_paddockId);
            writer.WriteShort(m_worldX);
            writer.WriteShort(m_worldY);
            writer.WriteInt(m_mapId);
            writer.WriteVarUhShort(m_subAreaId);
            writer.WriteBoolean(m_abandonned);
        }
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            int mountsInformationsCount = reader.ReadUShort();
            int mountsInformationsIndex;

            m_mountsInformations = new System.Collections.Generic.List <MountInformationsForPaddock>();
            for (mountsInformationsIndex = 0; (mountsInformationsIndex < mountsInformationsCount); mountsInformationsIndex = (mountsInformationsIndex + 1))
            {
                MountInformationsForPaddock objectToAdd = new MountInformationsForPaddock();
                objectToAdd.Deserialize(reader);
                m_mountsInformations.Add(objectToAdd);
            }
            m_paddockId  = reader.ReadInt();
            m_worldX     = reader.ReadShort();
            m_worldY     = reader.ReadShort();
            m_mapId      = reader.ReadInt();
            m_subAreaId  = reader.ReadVarUhShort();
            m_abandonned = reader.ReadBoolean();
        }