// Token: 0x060045BB RID: 17851 RVA: 0x0015440C File Offset: 0x0015260C public int CanClaimReward(int Slot) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_CanClaimRewardInt32_hotfix != null) { return(Convert.ToInt32(this.m_CanClaimRewardInt32_hotfix.call(new object[] { this, Slot }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; if (Slot < 0 || Slot >= this.m_novicePointsRewards.Count) { return(-4600); } if (this.IsRewardClaimed(Slot)) { return(-4601); } ConfigDataNoviceRewardInfo configDataNoviceRewardInfo = this.m_novicePointsRewards[Slot]; if (configDataNoviceRewardInfo.NovicePoints > this.GetMissionPoints()) { return(-4602); } return(0); }
// Token: 0x0600900D RID: 36877 RVA: 0x0029E1FC File Offset: 0x0029C3FC public void InitIntegralGoodsInfo(ConfigDataNoviceRewardInfo reward, int slot) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitIntegralGoodsInfoConfigDataNoviceRewardInfoInt32_hotfix != null) { this.m_InitIntegralGoodsInfoConfigDataNoviceRewardInfoInt32_hotfix.call(new object[] { this, reward, slot }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.NoviceReward = reward; this.Slot = slot; this.SetIntegralGoodsState(); this.SetIntegralGoodsInfo(); }