예제 #1
0
        public MenuSubServer(Plugin plugin) : base(plugin)
        {
            ConnectionCollection = new ClientConnectionCollection();
            var menuHandlers = new List <AbstractSubServerHandler> {
            };

            subServerHandlerList = new SubServerHandlerList(menuHandlers);
        }
예제 #2
0
        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);
        }