// Token: 0x06004763 RID: 18275 RVA: 0x001601C0 File Offset: 0x0015E3C0 protected int CanManualFlushStore(RandomStore store, ConfigDataRandomStoreInfo storeInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CanManualFlushStoreRandomStoreConfigDataRandomStoreInfo_hotfix != null) { return(Convert.ToInt32(this.m_CanManualFlushStoreRandomStoreConfigDataRandomStoreInfo_hotfix.call(new object[] { this, store, storeInfo }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; if (store.ManualFlushNums >= this.m_configDataLoader.ConfigableConstId_RandomStoreManualFlushMaxNums) { return(-1105); } return(this.m_basicInfo.IsCurrencyEnough(storeInfo.CurrencyType, storeInfo.Price)); }
// Token: 0x060075B9 RID: 30137 RVA: 0x00203D98 File Offset: 0x00201F98 public int CanManualFlushRandomStore(RandomStore store) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CanManualFlushRandomStoreRandomStore_hotfix != null) { return(Convert.ToInt32(this.m_CanManualFlushRandomStoreRandomStore_hotfix.call(new object[] { this, store }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; ConfigDataRandomStoreInfo configDataRandomStoreInfo = this.m_configDataLoader.GetConfigDataRandomStoreInfo(store.Id); if (configDataRandomStoreInfo == null) { return(-1103); } return(base.CanManualFlushStore(store, configDataRandomStoreInfo)); }
// Token: 0x060075BA RID: 30138 RVA: 0x00203E3C File Offset: 0x0020203C public int ManualFlushRandomStore(RandomStore store) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ManualFlushRandomStoreRandomStore_hotfix != null) { return(Convert.ToInt32(this.m_ManualFlushRandomStoreRandomStore_hotfix.call(new object[] { this, store }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; ConfigDataRandomStoreInfo configDataRandomStoreInfo = this.m_configDataLoader.GetConfigDataRandomStoreInfo(store.Id); if (configDataRandomStoreInfo == null) { return(-1103); } this.SetStore(store); this.m_basicInfo.AddCurrency(configDataRandomStoreInfo.CurrencyType, -configDataRandomStoreInfo.Price, GameFunctionType.GameFunctionType_None, null); return(0); }
// Token: 0x060075D8 RID: 30168 RVA: 0x00204544 File Offset: 0x00202744 public int __callBase_CanManualFlushStore(RandomStore store, ConfigDataRandomStoreInfo storeInfo) { return(this.m_owner.__callBase_CanManualFlushStore(store, storeInfo)); }
// Token: 0x060075C9 RID: 30153 RVA: 0x002041EC File Offset: 0x002023EC private int __callBase_CanManualFlushStore(RandomStore store, ConfigDataRandomStoreInfo storeInfo) { return(base.CanManualFlushStore(store, storeInfo)); }