public void _runStart() { string moneyConfigUrl_ = @"rid://money.moneyConfig"; PlatformSingleton platformSingleton_ = __singleton <PlatformSingleton> ._instance(); MoneyConfig moneyConfig_ = __singleton <MoneyConfig> ._instance(); platformSingleton_._loadHeadstream <MoneyConfig>(moneyConfig_, moneyConfigUrl_); MoneyMgr._runInit(); }
public MoneyMgr() { mMoneys = new Dictionary <uint, Money>(); MoneyConfig moneyConfig_ = __singleton <MoneyConfig> ._instance(); Dictionary <uint, Money> moneys_ = moneyConfig_._getMoneys(); foreach (KeyValuePair <uint, Money> i in moneys_) { mMoneys[i.Key] = i.Value; } }