Files
SPT-Server-Build/Core/Services/LocalisationService.cs
T
2025-01-06 01:43:58 -05:00

48 lines
1.2 KiB
C#

using Core.Utils;
using Core.Annotations;
using Core.Servers;
using ILogger = Core.Models.Utils.ILogger;
using Utils_ILogger = Core.Models.Utils.ILogger;
namespace Core.Services;
[Injectable(InjectionType.Singleton)]
public class LocalisationService
{
private readonly Utils_ILogger _logger;
private readonly RandomUtil _randomUtil;
private readonly DatabaseServer _databaseServer;
private readonly LocaleService _localeService;
private readonly I18nService _i18nService;
public LocalisationService(
Utils_ILogger logger,
RandomUtil randomUtil,
DatabaseServer databaseServer,
LocaleService localeService
)
{
_logger = logger;
_randomUtil = randomUtil;
_databaseServer = databaseServer;
_localeService = localeService;
_i18nService = new I18nService();
File.ReadAllText()
}
public string GetText(string key, object? args = null)
{
throw new NotImplementedException();
}
public ICollection<string> GetKeys()
{
throw new NotImplementedException();
}
public string GetRandomTextThatMatchesPartialKey(string partialKey)
{
throw new NotImplementedException();
}
}