Snowflake/RPG.Services.Gameserver/RPGGameserver.cs
2024-01-19 17:45:18 +03:00

19 lines
511 B
C#

using RPG.GameCore.Excel;
using RPG.Services.Core;
namespace RPG.Services.Gameserver;
internal class RPGGameserver : RPGServiceBase
{
private readonly ExcelTables _excelTables;
public RPGGameserver(ServiceManager serviceManager, ExcelTables excelTables) : base(serviceManager)
{
_excelTables = excelTables;
}
public override async Task StartAsync(CancellationToken cancellationToken)
{
_excelTables.Load();
await base.StartAsync(cancellationToken);
}
}