private void HandleRegionInfoRequest(IClientAPI remote_client)
        {
            RegionInfoForEstateMenuArgs args = new RegionInfoForEstateMenuArgs
                                                   {
                                                       billableFactor = m_scene.RegionInfo.EstateSettings.BillableFactor,
                                                       estateID = m_scene.RegionInfo.EstateSettings.EstateID,
                                                       maxAgents = (byte) m_scene.RegionInfo.RegionSettings.AgentLimit,
                                                       objectBonusFactor =
                                                           (float) m_scene.RegionInfo.RegionSettings.ObjectBonus,
                                                       parentEstateID = m_scene.RegionInfo.EstateSettings.ParentEstateID,
                                                       pricePerMeter = m_scene.RegionInfo.EstateSettings.PricePerMeter,
                                                       redirectGridX = 0,
                                                       redirectGridY = 0,
                                                       regionFlags = GetRegionFlags(),
                                                       simAccess = m_scene.RegionInfo.AccessLevel,
                                                       sunHour = (float) m_scene.RegionInfo.RegionSettings.SunPosition,
                                                       terrainLowerLimit =
                                                           (float) m_scene.RegionInfo.RegionSettings.TerrainLowerLimit,
                                                       terrainRaiseLimit =
                                                           (float) m_scene.RegionInfo.RegionSettings.TerrainRaiseLimit,
                                                       useEstateSun = m_scene.RegionInfo.RegionSettings.UseEstateSun,
                                                       waterHeight =
                                                           (float) m_scene.RegionInfo.RegionSettings.WaterHeight,
                                                       simName = m_scene.RegionInfo.RegionName,
                                                       regionType = m_scene.RegionInfo.RegionType
                                                   };

            remote_client.SendRegionInfoToEstateMenu(args);
        }
        /// <summary>
        ///     Tell the client about the changes
        /// </summary>
        /// <param name="remote_client"></param>
        /// <param name="m_scene"></param>
        private void HandleRegionInfoRequest(IClientAPI remote_client, IScene m_scene)
        {
            RegionInfoForEstateMenuArgs args = new RegionInfoForEstateMenuArgs
                                                   {
                                                       billableFactor = m_scene.RegionInfo.EstateSettings.BillableFactor,
                                                       estateID = m_scene.RegionInfo.EstateSettings.EstateID,
                                                       maxAgents = (byte) m_scene.RegionInfo.RegionSettings.AgentLimit,
                                                       objectBonusFactor =
                                                           (float) m_scene.RegionInfo.RegionSettings.ObjectBonus,
                                                       parentEstateID = m_scene.RegionInfo.EstateSettings.ParentEstateID,
                                                       pricePerMeter = m_scene.RegionInfo.EstateSettings.PricePerMeter,
                                                       redirectGridX = 0,
                                                       redirectGridY = 0
                                                   };

            IEstateModule estate = m_scene.RequestModuleInterface<IEstateModule>();
            args.regionFlags = estate == null ? 0 : estate.GetRegionFlags();

            args.simAccess = m_scene.RegionInfo.AccessLevel;
            args.sunHour = (float) m_scene.RegionInfo.RegionSettings.SunPosition;
            args.terrainLowerLimit = (float) m_scene.RegionInfo.RegionSettings.TerrainLowerLimit;
            args.terrainRaiseLimit = (float) m_scene.RegionInfo.RegionSettings.TerrainRaiseLimit;
            args.useEstateSun = m_scene.RegionInfo.RegionSettings.UseEstateSun;
            args.waterHeight = (float) m_scene.RegionInfo.RegionSettings.WaterHeight;
            args.simName = m_scene.RegionInfo.RegionName;
            args.regionType = m_scene.RegionInfo.RegionType;

            remote_client.SendRegionInfoToEstateMenu(args);
        }