Esempio n. 1
0
        public bool AddUiWorldMapAreaIdSwap(uint uiWorldMapAreaId, int references = 1)
        {
            if (UiWorldMapAreaIdSwaps.ContainsKey(uiWorldMapAreaId))
            {
                return(false);
            }

            UiWorldMapAreaIdSwaps.Add(uiWorldMapAreaId, new UiWorldMapAreaIdSwapRef(references));
            return(true);
        }
Esempio n. 2
0
 public bool AddUiWorldMapAreaIdSwap(uint uiWorldMapAreaId, int references = 1)
 {
     UiWorldMapAreaIdSwaps.Add(uiWorldMapAreaId, new UiWorldMapAreaIdSwapRef(references));
     return(true); //Tryadd?  maybe Concurrent
 }