// Token: 0x0600010F RID: 271 RVA: 0x00006420 File Offset: 0x00004820 private void shouldDisplayRewardedVideoEvent(string location) { bool flag = true; if (Chartboost.shouldDisplayRewardedVideo != null) { flag = Chartboost.shouldDisplayRewardedVideo(CBLocation.locationFromName(location)); } CBExternal.chartBoostShouldDisplayRewardedVideoCallbackResult(flag); if (flag) { Chartboost.showRewardedVideo(CBLocation.locationFromName(location)); } }
private void shouldDisplayRewardedVideoEvent(string location) { bool shouldDisplayRewardedVideoResponse = true; if (shouldDisplayRewardedVideo != null) { shouldDisplayRewardedVideoResponse = shouldDisplayRewardedVideo(CBLocation.locationFromName(location)); } CBExternal.chartBoostShouldDisplayRewardedVideoCallbackResult(shouldDisplayRewardedVideoResponse); if (shouldDisplayRewardedVideoResponse) { Chartboost.showRewardedVideo(CBLocation.locationFromName(location)); } }