Example #1
0
        public void UnlockSubRegion(int groupingId, WorldSubRegion subRegionEnum)
        {
            MapGrouping <SubRegion, WorldSubRegion> grouping = _subRegionGroupingsDictionary[groupingId];

            MapGroupingItem <SubRegion, WorldSubRegion> subRegionGroupingItem = grouping.Values.Single(sr => sr.Item.AreaId == subRegionEnum);

            subRegionGroupingItem.Unlock();
        }
Example #2
0
        public void UnlockRegion(int groupingId, WorldRegion regionalEnum)
        {
            MapGrouping <Region, WorldRegion> grouping = _regionGroupingsDictionary[groupingId];

            MapGroupingItem <Region, WorldRegion> regionGroupingItem = grouping.Values.Single(sr => sr.Item.AreaId == regionalEnum);

            regionGroupingItem.Unlock();
        }