// Token: 0x06000115 RID: 277 RVA: 0x00006582 File Offset: 0x00004982
 private void willDisplayVideoEvent(string location)
 {
     if (Chartboost.willDisplayVideo != null)
     {
         Chartboost.willDisplayVideo(CBLocation.locationFromName(location));
     }
 }
 public void didDisplayInterstitialEvent(string location)
 {
     if (didDisplayInterstitial != null)
     {
         didDisplayInterstitial(CBLocation.locationFromName(location));
     }
 }
Beispiel #3
0
 private void didLoadInPlay(string location)
 {
     if (didCacheInPlay != null)
     {
         didCacheInPlay(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x06000106 RID: 262 RVA: 0x0000626F File Offset: 0x0000466F
 private void didCacheMoreAppsEvent(string location)
 {
     if (Chartboost.didCacheMoreApps != null)
     {
         Chartboost.didCacheMoreApps(CBLocation.locationFromName(location));
     }
 }
Beispiel #5
0
 private void didCloseRewardedVideoEvent(string location)
 {
     if (didCloseRewardedVideo != null)
     {
         didCloseRewardedVideo(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x0600010E RID: 270 RVA: 0x00006403 File Offset: 0x00004803
 private void didCacheRewardedVideoEvent(string location)
 {
     if (Chartboost.didCacheRewardedVideo != null)
     {
         Chartboost.didCacheRewardedVideo(CBLocation.locationFromName(location));
     }
 }
Beispiel #7
0
 private void didCloseMoreAppsEvent(string location)
 {
     if (didCloseMoreApps != null)
     {
         didCloseMoreApps(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x06000112 RID: 274 RVA: 0x0000650F File Offset: 0x0000490F
 private void didCacheInPlayEvent(string location)
 {
     if (Chartboost.didCacheInPlay != null)
     {
         Chartboost.didCacheInPlay(CBLocation.locationFromName(location));
     }
 }
Beispiel #9
0
 private void didCloseInterstitialEvent(string location)
 {
     if (didCloseInterstitial != null)
     {
         didCloseInterstitial(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x060000FF RID: 255 RVA: 0x0000612B File Offset: 0x0000452B
 private void didCacheInterstitialEvent(string location)
 {
     if (Chartboost.didCacheInterstitial != null)
     {
         Chartboost.didCacheInterstitial(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x06000103 RID: 259 RVA: 0x00006214 File Offset: 0x00004614
 private void didDismissMoreAppsEvent(string location)
 {
     Chartboost.doUnityPause(false, false);
     if (Chartboost.didDismissMoreApps != null)
     {
         Chartboost.didDismissMoreApps(CBLocation.locationFromName(location));
     }
 }
Beispiel #12
0
 private void didDisplayRewardedVideoEvent(string location)
 {
     if (didDisplayRewardedVideo != null)
     {
         doUnityPause(true);
         didDisplayRewardedVideo(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x06000108 RID: 264 RVA: 0x000062CD File Offset: 0x000046CD
 private void didDisplayMoreAppsEvent(string location)
 {
     Chartboost.doUnityPause(true, true);
     if (Chartboost.didDisplayMoreApps != null)
     {
         Chartboost.didDisplayMoreApps(CBLocation.locationFromName(location));
     }
 }
Beispiel #14
0
 private void didDisplayMoreAppsEvent(string location)
 {
     if (didDisplayMoreApps != null)
     {
         doUnityPause(true);
         didDisplayMoreApps(CBLocation.locationFromName(location));
     }
 }
Beispiel #15
0
        private void didDismissRewardedVideoEvent(string location)
        {
            doUnityPause(false);

            if (didDismissRewardedVideo != null)
            {
                didDismissRewardedVideo(CBLocation.locationFromName(location));
            }
        }
Beispiel #16
0
        private void didDismissInterstitialEvent(string location)
        {
            doUnityPause(false);

            if (didDismissInterstitial != null)
            {
                didDismissInterstitial(CBLocation.locationFromName(location));
            }
        }
        // Token: 0x06000109 RID: 265 RVA: 0x000062F0 File Offset: 0x000046F0
        private void didFailToRecordClickEvent(string dataString)
        {
            Hashtable    hashtable = (Hashtable)CBJSON.Deserialize(dataString);
            CBClickError arg       = Chartboost.clickErrorFromInt(hashtable["errorCode"]);

            if (Chartboost.didFailToRecordClick != null)
            {
                Chartboost.didFailToRecordClick(CBLocation.locationFromName(hashtable["location"] as string), arg);
            }
        }
        // Token: 0x06000113 RID: 275 RVA: 0x0000652C File Offset: 0x0000492C
        private void didFailToLoadInPlayEvent(string dataString)
        {
            Hashtable         hashtable = (Hashtable)CBJSON.Deserialize(dataString);
            CBImpressionError arg       = Chartboost.impressionErrorFromInt(hashtable["errorCode"]);

            if (Chartboost.didFailToLoadInPlay != null)
            {
                Chartboost.didFailToLoadInPlay(CBLocation.locationFromName(hashtable["location"] as string), arg);
            }
        }
Beispiel #19
0
        private void didFailToLoadInPlayEvent(string dataString)
        {
            Hashtable         data  = (Hashtable)CBJSON.Deserialize(dataString);
            CBImpressionError error = impressionErrorFromInt(data["errorCode"]);

            if (didFailToLoadInPlay != null)
            {
                didFailToLoadInPlay(CBLocation.locationFromName(data["location"] as string), error);
            }
        }
        private void didFailToLoadRewardedVideoEvent(string dataString)
        {
            Debug.Log(dataString);
            Hashtable         data  = (Hashtable)CBJSON.Deserialize(dataString);
            CBImpressionError error = impressionErrorFromInt(data["errorCode"]);

            if (didFailToLoadRewardedVideo != null)
            {
                didFailToLoadRewardedVideo(CBLocation.locationFromName(data["location"] as string), error);
            }
        }
 // Token: 0x060000FC RID: 252 RVA: 0x000060C0 File Offset: 0x000044C0
 private void didDismissInterstitialEvent(string location)
 {
     Chartboost.doUnityPause(false, false);
     if (CBExternal.isWebViewEnabled())
     {
         Screen.orientation = ScreenOrientation.AutoRotation;
     }
     if (Chartboost.didDismissInterstitial != null)
     {
         Chartboost.didDismissInterstitial(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x06000111 RID: 273 RVA: 0x000064D8 File Offset: 0x000048D8
 private void didDisplayRewardedVideoEvent(string location)
 {
     Chartboost.doUnityPause(true, true);
     if (CBExternal.isWebViewEnabled())
     {
         Screen.orientation = Screen.orientation;
     }
     if (Chartboost.didDisplayRewardedVideo != null)
     {
         Chartboost.didDisplayRewardedVideo(CBLocation.locationFromName(location));
     }
 }
 // Token: 0x06000101 RID: 257 RVA: 0x00006189 File Offset: 0x00004589
 public void didDisplayInterstitialEvent(string location)
 {
     Chartboost.doUnityPause(true, true);
     if (CBExternal.isWebViewEnabled())
     {
         Screen.orientation = Screen.orientation;
     }
     if (Chartboost.didDisplayInterstitial != null)
     {
         Chartboost.didDisplayInterstitial(CBLocation.locationFromName(location));
     }
 }
Beispiel #24
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));
            }
        }
        // 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));
            }
        }
Beispiel #26
0
        private void shouldDisplayMoreAppsEvent(string location)
        {
            bool shouldDisplayMoreAppsResponse = true;

            if (shouldDisplayMoreApps != null)
            {
                shouldDisplayMoreAppsResponse = shouldDisplayMoreApps(CBLocation.locationFromName(location));
            }
            CBExternal.chartBoostShouldDisplayMoreAppsCallbackResult(shouldDisplayMoreAppsResponse);
            if (shouldDisplayMoreAppsResponse)
            {
                Chartboost.showMoreApps(CBLocation.locationFromName(location));
            }
        }
        // Token: 0x06000107 RID: 263 RVA: 0x0000628C File Offset: 0x0000468C
        private void shouldDisplayMoreAppsEvent(string location)
        {
            bool flag = true;

            if (Chartboost.shouldDisplayMoreApps != null)
            {
                flag = Chartboost.shouldDisplayMoreApps(CBLocation.locationFromName(location));
            }
            CBExternal.chartBoostShouldDisplayMoreAppsCallbackResult(flag);
            if (flag)
            {
                Chartboost.showMoreApps(CBLocation.locationFromName(location));
            }
        }
        // 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));
            }
        }
Beispiel #29
0
        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));
            }
        }
Beispiel #30
0
        private void didCompleteRewardedVideoEvent(string dataString)
        {
            Hashtable data = (Hashtable)CBJSON.Deserialize(dataString);
            int       reward;

            try {
                reward = Convert.ToInt32(data["reward"]);
            } catch {
                reward = 0;
            }

            if (didCompleteRewardedVideo != null)
            {
                didCompleteRewardedVideo(CBLocation.locationFromName(data["location"] as string), reward);
            }
        }