Пример #1
0
        protected virtual void StartOtherComponents()
        {
            StartupLoginService();
            //
            // Get the minimum defaultLevel to access to the grid
            //
            m_loginService.setloginlevel((int)Cfg.DefaultUserLevel);

            RegisterInterface <UserLoginService>(m_loginService); //TODO: should be done in the login service

            m_eventDispatcher = new UserServerEventDispatchModule(m_userManager, m_messagesService, m_loginService);
            m_eventDispatcher.Initialize(this);
        }
Пример #2
0
        protected virtual void StartOtherComponents(IInterServiceInventoryServices inventoryService)
        {
            m_appearanceModule = new AvatarCreationModule(m_userDataBaseService, Cfg, inventoryService);
            m_appearanceModule.Initialise(this);

            StartupLoginService(inventoryService);
            //
            // Get the minimum defaultLevel to access to the grid
            //
            m_loginService.setloginlevel((int)Cfg.DefaultUserLevel);

            RegisterInterface <UserLoginService>(m_loginService); //TODO: should be done in the login service

            m_eventDispatcher = new UserServerEventDispatchModule(m_userManager, m_messagesService, m_loginService);
            m_eventDispatcher.Initialise(this);
        }