public override void FinishedStartup() { if (m_registry != null)//Enabled { base.FinishedStartup (); m_GatekeeperConnector = new GatekeeperServiceConnector (m_registry.RequestModuleInterface<IAssetService> ()); } }
public void Start(IConfigSource config, IRegistryCore registry) { m_AssetService = registry.RequestModuleInterface<IAssetService> (); m_GridService = registry.RequestModuleInterface<IGridService> (); m_GatekeeperConnector = new GatekeeperServiceConnector (m_AssetService); m_Database = Aurora.DataManager.DataManager.RequestPlugin<IRegionData> (); MainConsole.Instance.Debug ("[HYPERGRID LINKER]: Loaded all services..."); }
public void FinishedStartup() { if (m_registry == null) return;//Not enabled m_GridService = m_registry.RequestModuleInterface<IGridService> (); m_asyncPostService = m_registry.RequestModuleInterface<IAsyncMessagePostService> (); m_GatekeeperConnector = new GatekeeperServiceConnector (m_registry.RequestModuleInterface<IAssetService> ()); m_GatekeeperService = m_registry.RequestModuleInterface<IGatekeeperService> (); m_FriendsService = m_registry.RequestModuleInterface<IFriendsService> (); m_PresenceService = m_registry.RequestModuleInterface<IAgentInfoService> (); m_UserAccountService = m_registry.RequestModuleInterface<IUserAccountService> (); }