public bool AddUiWorldMapAreaIdSwap(uint uiWorldMapAreaId, int references = 1) { if (UiWorldMapAreaIdSwaps.ContainsKey(uiWorldMapAreaId)) { return(false); } UiWorldMapAreaIdSwaps.Add(uiWorldMapAreaId, new UiWorldMapAreaIdSwapRef(references)); return(true); }
public bool AddUiWorldMapAreaIdSwap(uint uiWorldMapAreaId, int references = 1) { UiWorldMapAreaIdSwaps.Add(uiWorldMapAreaId, new UiWorldMapAreaIdSwapRef(references)); return(true); //Tryadd? maybe Concurrent }