public override MyObjectBuilder_SessionComponent GetObjectBuilder()
        {
            MyObjectBuilder_WorldGenerator builder = (MyObjectBuilder_WorldGenerator)base.GetObjectBuilder();

            builder.MarkedAreas          = m_markedAreas;
            builder.ExistingObjectsSeeds = m_existingObjectsSeeds;
            return(builder);
        }
        public override void Init(MyObjectBuilder_SessionComponent sessionComponent)
        {
            base.Init(sessionComponent);
            MyObjectBuilder_WorldGenerator builder = (MyObjectBuilder_WorldGenerator)sessionComponent;

            if (Sync.IsServer == false)
            {
                m_markedAreas = builder.MarkedAreas;
            }
            m_existingObjectsSeeds = builder.ExistingObjectsSeeds;
            if (m_markedAreas == null)
            {
                m_markedAreas = new HashSet <EmptyArea>();
            }

            foreach (var area in m_markedAreas)
            {
                MarkModules(area.Position, area.Radius);
            }
        }