// Token: 0x06000100 RID: 256 RVA: 0x00006148 File Offset: 0x00004548
        private void shouldDisplayInterstitialEvent(string location)
        {
            bool flag = true;

            if (Chartboost.shouldDisplayInterstitial != null)
            {
                flag = Chartboost.shouldDisplayInterstitial(CBLocation.locationFromName(location));
            }
            CBExternal.chartBoostShouldDisplayInterstitialCallbackResult(flag);
            if (flag)
            {
                Chartboost.showInterstitial(CBLocation.locationFromName(location));
            }
        }
Пример #2
0
        private void shouldDisplayInterstitialEvent(string location)
        {
            bool shouldDisplayInterstitialResponse = true;

            if (shouldDisplayInterstitial != null)
            {
                shouldDisplayInterstitialResponse = shouldDisplayInterstitial(CBLocation.locationFromName(location));
            }
            CBExternal.chartBoostShouldDisplayInterstitialCallbackResult(shouldDisplayInterstitialResponse);
            if (shouldDisplayInterstitialResponse)
            {
                Chartboost.showInterstitial(CBLocation.locationFromName(location));
            }
        }