/// <inheritdoc /> protected override void OnBeforeStart() { if (!_database.IsAlive()) { throw new InvalidProgramException($"Cannot start {nameof(ClusterServer)}. Failed to reach database."); } _gameResources.Load(typeof(DefineLoader), typeof(JobLoader)); }
/// <inheritdoc /> protected override void OnBeforeStart() { if (!_database.IsAlive()) { throw new InvalidProgramException($"Cannot start {nameof(WorldServer)}. Failed to reach database."); } _gameResources.Load(typeof(DefineLoader), typeof(TextLoader), typeof(MoverLoader), typeof(ItemLoader), typeof(DialogLoader), typeof(ShopLoader), typeof(JobLoader), typeof(SkillLoader), typeof(ExpTableLoader), typeof(PenalityLoader), typeof(NpcLoader), typeof(QuestLoader)); _chatCommandManager.Load(); _behaviorManager.Load(); _mapManager.Load(); }