Пример #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);
            }
        }
Пример #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);
            }
        }