ResourceDownloader

This commit is contained in:
Kei-Luna
2026-04-27 16:13:27 +09:00
parent 8415969ffe
commit 7b6d1a3054
4 changed files with 104 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ using MikuSB.GameServer.Server.CallGS;
using MikuSB.GameServer.Server.Packet;
using MikuSB.Internationalization;
using MikuSB.MikuSB.Tool;
using MikuSB.MikuSB.Update;
using MikuSB.Proto;
using MikuSB.SdkServer;
using MikuSB.TcpSharp;
@@ -146,6 +147,7 @@ public class LoaderManager : MikuSB
// Load the game data
try
{
await UpdateService.EnsureResourcesPresentAsync();
Logger.Info(I18NManager.Translate("Server.ServerInfo.LoadingItem", I18NManager.Translate("Word.GameData")));
ResourceManager.LoadGameData();
}