예제 #1
0
 public Client(ILogger <Client> logger, IOptions <AntiCheatConfig> antiCheatOptions, ClientManager clientManager, GameManager gameManager, ICustomMessageManager <ICustomRootMessage> customMessageManager, string name, int gameVersion, IHazelConnection connection)
     : base(name, gameVersion, connection)
 {
     _logger               = logger;
     _antiCheatConfig      = antiCheatOptions.Value;
     _clientManager        = clientManager;
     _gameManager          = gameManager;
     _customMessageManager = customMessageManager;
 }
예제 #2
0
 public Client(ILogger<Client> logger, IOptions<AntiCheatConfig> antiCheatOptions, ClientManager clientManager, GameManager gameManager, string name, IHazelConnection connection, ISet<Mod> mods)
     : base(name, connection, mods)
 {
     _logger = logger;
     _antiCheatConfig = antiCheatOptions.Value;
     _clientManager = clientManager;
     _gameManager = gameManager;
 }