internal MapInstance(MapBase map, int instanceNumber, int maxPlayers, bool isMain = false) { creatures = new ConcurrentDictionary <long, Creature>(2, maxPlayers); players = new ConcurrentDictionary <long, Player>(2, maxPlayers); Base = map; InstanceNumber = instanceNumber; IsMain = isMain; Name = string.Format("{0}-{1}", Base.Name, InstanceNumber); }
public bool TryGetMap(int mapId, out MapBase mapBase) { mapBase = null; return(false); }