Added comments

Made fields readonly
This commit is contained in:
Chomp
2025-06-11 15:05:12 +01:00
parent b78d0dff09
commit 327ad33bb6
2 changed files with 5 additions and 2 deletions
@@ -11,8 +11,8 @@ namespace SPTarkov.Server.Core.Helpers.Dialog.Commando;
[Injectable]
public class SptCommandoCommands : IChatCommand
{
protected LocalisationService _localisationService;
protected IDictionary<string, ISptCommand> _sptCommands;
protected readonly LocalisationService _localisationService;
protected readonly IDictionary<string, ISptCommand> _sptCommands;
public SptCommandoCommands(
ConfigServer configServer,
@@ -15,6 +15,9 @@ using LogLevel = SPTarkov.Server.Core.Models.Spt.Logging.LogLevel;
namespace SPTarkov.Server.Core.Services;
/// <summary>
/// Provides access to the servers database, these are in-memory representations of the .JSON files stored inside `Libraries\SPTarkov.Server.Assets\Assets\database`
/// </summary>
[Injectable(InjectionType.Singleton)]
public class DatabaseService(
ISptLogger<DatabaseService> _logger,