public void FinishedStartup() { if (m_registry == null) { return; } if (!m_doRemoteCalls) { m_scheduler.Register("RestrictedCurrencyPurchaseRemove", RestrictedCurrencyPurchaseRemove_Event); m_scheduler.Register("RestrictedCurrencySpendRemove", RestrictedCurrencySpendRemove_Event); } regionPostHandler = m_registry.RequestModuleInterface <IStarDustRegionPostHandler>(); m_moneyModule = m_registry.RequestModuleInterface <IMoneyModule>() as MoneyModule; }
public void SetMoneyModule(MoneyModule moneyModule) { m_moneyModule = moneyModule; }