コード例 #1
0
 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;
 }
コード例 #2
0
 public void SetMoneyModule(MoneyModule moneyModule)
 {
     m_moneyModule = moneyModule;
 }