コード例 #1
0
ファイル: Main.cs プロジェクト: NoahStarfinder/My-Halcyon
        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
ファイル: Main.cs プロジェクト: VisionSim/Vision-Sim-NXG
        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);
        }