Example #1
0
        public ClientConnectEvents(IStar star, StarDbContext db, IStarEventManager evtManager)
        {
            _star = star;
            _db = db;

            evtManager.RegisterPacketEvent<IClientConnectPacket>(OnClientConnect);
        }
Example #2
0
 public ClientConnectEvents(IStar star, StarDbContext db, ILogger<ClientConnectEvents> logger)
 {
     _star = star;
     _db = db;
     _logger = logger;
 }
Example #3
0
 public AdminAccountCommands(ILogger<AdminAccountCommands> logger, IStarServer server, StarDbContext db)
 {
     _logger = logger;
     _server = server;
     _db = db;
 }
Example #4
0
 public AccountCommands(IStar star, ILogger<AccountCommands> logger, StarDbContext db)
 {
     _star = star;
     _logger = logger;
     _db = db;
 }