public MenuSubServer(Plugin plugin) : base(plugin) { ConnectionCollection = new ClientConnectionCollection(); var menuHandlers = new List <AbstractSubServerHandler> { }; subServerHandlerList = new SubServerHandlerList(menuHandlers); }
public LoginSubServer(IAuthorizationService authService, Plugin plugin) : base(plugin) { ConnectionCollection = new ClientConnectionCollection(); var loginHandlers = new List <AbstractSubServerHandler> { new LoginAccountCreationHandler(authService), new LoginAuthorizationHandler(authService) }; subServerHandlerList = new SubServerHandlerList(loginHandlers); }