protected override void Dispose(bool disposing) { if (disposing) { _monsters.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { _sessions.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { _characters.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { _dropsByMonster.Dispose(); _groups.Dispose(); _monsterSkills.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (!_disposed) { if (disposing) { _sessions.Dispose(); } _disposed = true; } }
protected override void Dispose(bool disposing) { if (disposing) { foreach (ClientSession session in ServerManager.Instance.Sessions.Where(s => s.Character != null && s.Character.MapInstanceId == MapInstanceId)) { ServerManager.Instance.ChangeMap(session.Character.CharacterId, session.Character.MapId, session.Character.MapX, session.Character.MapY); } _monsters.Dispose(); _npcs.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { _monsterDrops.Dispose(); _groups.Dispose(); _monsterSkills.Dispose(); _shopSkills.Dispose(); _shopItems.Dispose(); _shops.Dispose(); _recipes.Dispose(); _mapNpcs.Dispose(); _teleporters.Dispose(); } }