Пример #1
0
 public RealXtendLogin(UserLoginService service,
                     IInterServiceInventoryServices interInventoryService,
                     IInventoryService inventoryService,
                     LoginSwitch loginSwitch,
                     IGridService gridService,
                     UserConfig config)
 {
     m_UserLoginService = service;
     m_interInventoryService = interInventoryService;
     m_InventoryService = inventoryService;
     m_LoginSwitch = loginSwitch;
     m_GridService = gridService;
     m_UserConfig = config;
     m_defaultHomeX = m_UserConfig.DefaultX;
     m_defaultHomeY = m_UserConfig.DefaultY;
     m_OpenSimMap = new OpenSimMap(config.GridServerURL, m_GridService);
 }
Пример #2
0
        public UserLoginService(
            UserManagerBase userManager, IInterServiceInventoryServices inventoryService,
            LibraryRootFolder libraryRootFolder,
            UserConfig config, string welcomeMess, IRegionProfileRouter regionProfileService)
            : base(userManager, libraryRootFolder, welcomeMess)
        {
            m_config = config;
            m_defaultHomeX = m_config.DefaultX;
            m_defaultHomeY = m_config.DefaultY;
            m_interInventoryService = inventoryService;
            m_regionProfileService = regionProfileService;

            m_GridService = new GridServicesConnector(config.GridServerURL.ToString());

            m_LoginSwitch = new LoginSwitch(this, m_interInventoryService, m_InventoryService, m_GridService, config);
        }