Example #1
0
        /// <summary>
        /// Create a caps handler for the given region
        /// </summary>
        /// <param name="RegionHandle"></param>
        public void AddCapsForRegion(ulong RegionHandle)
        {
            if (!m_RegionCapsServices.ContainsKey(RegionHandle))
            {
                IRegionCapsService service = new PerRegionCapsService();
                service.Initialise(RegionHandle, Registry);

                m_RegionCapsServices.Add(RegionHandle, service);
            }
        }
Example #2
0
        /// <summary>
        /// Create a caps handler for the given region
        /// </summary>
        /// <param name="RegionHandle"></param>
        public void AddCapsForRegion(ulong RegionHandle)
        {
            if (!m_RegionCapsServices.ContainsKey(RegionHandle))
            {
                IRegionCapsService service = new PerRegionCapsService();
                service.Initialise(RegionHandle, Registry);

                m_RegionCapsServices.Add(RegionHandle, service);
            }
        }