public bool ShowFixedRewards(HashSet <RewardVisualTiming> rewardVisualTimings, DelOnAllFixedRewardsShown allRewardsShownCallback, DelPositionNonToastReward positionNonToastRewardCallback, Vector3 rewardPunchScale, Vector3 rewardScale, object userData) { OnAllFixedRewardsShownCallbackInfo callbackInfo = new OnAllFixedRewardsShownCallbackInfo { m_rewardMapIDsToShow = new List <RewardMapIDToShow>(), m_onAllRewardsShownCallback = allRewardsShownCallback, m_positionNonToastRewardCallback = positionNonToastRewardCallback, m_rewardPunchScale = rewardPunchScale, m_rewardScale = rewardScale, m_userData = userData }; foreach (RewardVisualTiming timing in rewardVisualTimings) { if (this.m_rewardMapIDsToShow.ContainsKey(timing)) { callbackInfo.m_rewardMapIDsToShow.AddRange(this.m_rewardMapIDsToShow[timing]); this.m_rewardMapIDsToShow[timing].Clear(); } } if (callbackInfo.m_rewardMapIDsToShow.Count == 0) { return(false); } if (< > f__am$cache9 == null) {
public bool ShowFixedRewards(HashSet <RewardVisualTiming> rewardVisualTimings, DelOnAllFixedRewardsShown allRewardsShownCallback, DelPositionNonToastReward positionNonToastRewardCallback, Vector3 rewardPunchScale, Vector3 rewardScale) { return(this.ShowFixedRewards(rewardVisualTimings, allRewardsShownCallback, positionNonToastRewardCallback, rewardPunchScale, rewardScale, null)); }