示例#1
0
 public UserLoginService(
     OpenSim.Framework.Communications.UserProfileManager userManager,
     LibraryRootFolder libraryRootFolder, string mapServerURI, string profileServerURI,
     UserConfig config, string welcomeMess, IRegionProfileRouter regionProfileService)
     : base(userManager, libraryRootFolder, welcomeMess, mapServerURI, profileServerURI)
 {
     m_config               = config;
     m_defaultHomeX         = m_config.DefaultX;
     m_defaultHomeY         = m_config.DefaultY;
     m_regionProfileService = regionProfileService;
 }
        public LLStandaloneLoginService(
            UserProfileManager userManager, string welcomeMess, string mapServerURI,
            NetworkServersInfo serversInfo,
            bool authenticate, LibraryRootFolder libraryRootFolder, ILoginServiceToRegionsConnector regionsConnector)
            : base(userManager, libraryRootFolder, welcomeMess, mapServerURI)
        {
            this.m_serversInfo = serversInfo;
            m_defaultHomeX = this.m_serversInfo.DefaultHomeLocX;
            m_defaultHomeY = this.m_serversInfo.DefaultHomeLocY;
            m_authUsers = authenticate;

            m_regionsConnector = regionsConnector;
        }