コード例 #1
0
 /// <summary>
 /// Chartboost specific event triggered if a rewarded video failed to load
 /// </summary>
 /// <param name="arg1"></param>
 /// <param name="arg2"></param>
 private void FailRewarded(CBLocation arg1, CBImpressionError arg2)
 {
     if (debug)
     {
         Debug.Log(this + " FailRewarded Reason:" + arg2);
         ScreenWriter.Write(this + " FailRewarded Reason:" + arg2);
     }
     if (triggerCompleteMethod == true)
     {
         if (OnCompleteMethod != null)
         {
             OnCompleteMethod(false);
             OnCompleteMethod      = null;
             triggerCompleteMethod = false;
         }
         if (OnCompleteMethodWithAdvertiser != null)
         {
             OnCompleteMethodWithAdvertiser(false, SupportedAdvertisers.Chartboost.ToString());
             OnCompleteMethodWithAdvertiser = null;
             triggerCompleteMethod          = false;
         }
     }
     else
     {
         if (debug)
         {
             Debug.Log(this + " FailRewarded Reload...");
             ScreenWriter.Write(this + " FailRewarded Reload...");
         }
         Invoke("ReloadVideoCB", reloadTime);
     }
 }
コード例 #2
0
        private void LoadFailedCallback(CBLocation location, CBImpressionError error)
        {
            ClearLoadCallbacks();

            Debug.LogWarning("Failed to load Chartboost rewarded video: " + error.ToString());

            onFail?.Invoke(error.ToString());
        }
コード例 #3
0
 /// <summary>
 /// Chartboost specific event called after failed to load
 /// </summary>
 /// <param name="arg1"></param>
 /// <param name="arg2"></param>
 void FailInterstitial(CBLocation arg1, CBImpressionError arg2)
 {
     if (debug)
     {
         Debug.Log(this + "FailInterstitial Reason:" + arg2);
         ScreenWriter.Write(this + "FailInterstitial Reason:" + arg2);
     }
     Invoke("ReloadInterstitialCB", reloadTime);
 }
コード例 #4
0
ファイル: CBManager.cs プロジェクト: DailySoccer/DisneyKicks
        public void didFailToLoadMoreApps(string dataString)
        {
            Hashtable         data  = (Hashtable)CBJSON.Deserialize(dataString);
            CBImpressionError error = impressionErrorFromInt(data["errorCode"]);

            if (didFailToLoadMoreAppsEvent != null)
            {
                didFailToLoadMoreAppsEvent(error);
            }
        }
コード例 #5
0
        // 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);
            }
        }
コード例 #6
0
        void OnDidFailToLoadInterstitialStartup(CBLocation arg1, CBImpressionError arg2)
        {
            print("AAChartboost - OnDidFailToLoadInterstitialStartup : error = " + arg2.ToString());
            if (successInterstitialStartup != null)
            {
                successInterstitialStartup(false);
            }

            UnnubscribeInterstitialStartup();
        }
コード例 #7
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);
            }
        }
コード例 #8
0
ファイル: CBManager.cs プロジェクト: DailySoccer/DisneyKicks
        public void didFailToLoadInterstitial(string dataString)
        {
            Hashtable         data  = (Hashtable)CBJSON.Deserialize(dataString);
            CBImpressionError error = impressionErrorFromInt(data["errorCode"]);

            if (didFailToLoadInterstitialEvent != null)
            {
                didFailToLoadInterstitialEvent(data["location"] as string, error);
            }
        }
コード例 #9
0
        void OnDidFailToLoadInterstitialDefault(CBLocation arg1, CBImpressionError arg2)
        {
            print("AAChartboost - ShowInterstitial - didFailToLoadInterstitial : error = " + arg2.ToString());

            if (successInterstitialDefault != null)
            {
                successInterstitialDefault(false);
            }

            UnnubscribeInterstitialDefault();
        }
コード例 #10
0
        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);
            }
        }
コード例 #11
0
ファイル: AdsController.cs プロジェクト: Coolnut99/SOCKO
    void FailedToLoadVideo(CBLocation arg1, CBImpressionError arg2)
    {
        canShowChartboostVideo = false;

        GameObject g = GameObject.Find("Store Controller");

        if (g != null)
        {
            g.GetComponent <StoreController>().FailedToLoadTheVideo();
        }

        LoadChartboostVideoAds();
    }
コード例 #12
0
    void didFailedToLoaChartboostGameOver(CBLocation location, CBImpressionError error)
    {
        Chartboost.didFailToLoadInterstitial -= didFailedToLoaChartboostGameOver;

        if (location != CBLocation.Startup)
        {
            Debug.Log(string.Format("--------- didFailedToLoaChartboostGameOver didFailToLoadInterstitial: {0} at location {1}", error, location));
        }
        else
        {
            Debug.Log(string.Format("---------!!!! ERROR !!!!  didFailedToLoaChartboostGameOver didFailToLoadInterstitial: {0} at location {1}", error, location));
        }
    }
コード例 #13
0
        void OnDidFailToLoadRewardedVideo(CBLocation arg1, CBImpressionError arg2)
        {
            GC.Collect();
            Application.targetFrameRate = 60;

            print("AAChartboost - didFailToLoadRewardedVideo - error = " + arg2);

            if (successRewardedVideo != null)
            {
                successRewardedVideo(false);
            }

            UnsubscribeRewardedVideo();
        }
コード例 #14
0
    void didFailToLoadInterstitialGameOver(CBLocation location, CBImpressionError error)
    {
        Debug.Log(string.Format("CHARTBOOST ----- didFailToLoadInterstitial: {0} at location {1}", error, location));

        if (location == CBLocation.Startup)
        {
            Debug.Log("it's startup ==> on base");
        }
        else
        {
            Debug.Log("it's NOT startup ==> on tente une autre ad");

            ShowAdmobBackup();
        }
    }
コード例 #15
0
ファイル: TestScript.cs プロジェクト: arahis/TestChartboost
 private void DidFailToLoadInterstitial(CBLocation location, CBImpressionError error)
 {
     AppendStatus(string.Format("DidFailToLoadInterstitial: {0} at location {1}", error, location));
 }
コード例 #16
0
    private void Chartboost_didFailToLoadRewardedVideo(CBLocation arg1, CBImpressionError arg2)
    {
        // throw new System.NotImplementedException();

        Debug.Log("Load rewarded video failed");
    }
コード例 #17
0
 void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError cb)
 {
     panelError.SetActive(true);
     panelLoading.SetActive(false);
 }
コード例 #18
0
 void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError error)
 {
     Debug.Log(string.Format("Arslan::Chartboost::didFailToLoadRewardedVideo: {0} at location {1}", error, location));
 }
コード例 #19
0
ファイル: AdManager.cs プロジェクト: ttat/puzzlewarrior
 private void ChartboostOnDidFailToLoadMoreApps(CBLocation cbLocation, CBImpressionError cbImpressionError)
 {
 }
コード例 #20
0
	void didFailToLoadInterstitial(CBLocation location, CBImpressionError error) {
		AddLog(string.Format("didFailToLoadInterstitial: {0} at location {1}", error, location));
	}
コード例 #21
0
	void didFailToLoadInPlay(CBLocation location, CBImpressionError error) {
		AddLog(string.Format("didFailToLoadInPlay: {0} at location: {1}", error, location));
	}
コード例 #22
0
 void didFailToLoadInterstitial(CBLocation location, CBImpressionError error)
 {
     AddLog(string.Format("didFailToLoadInterstitial: {0} at location {1}", error, location));
 }
コード例 #23
0
 void didFailToLoadMoreApps(CBLocation location, CBImpressionError error)
 {
     AddLog(string.Format("didFailToLoadMoreApps: {0} at location: {1}", error, location));
 }
コード例 #24
0
	void didFailToLoadMoreApps(CBLocation location, CBImpressionError error) {
		Debug.Log(string.Format("didFailToLoadMoreApps: {0} at location: {1}", error, location));
	}
コード例 #25
0
	void didFailToRecordClick(CBLocation location, CBImpressionError error) {
		Debug.Log(string.Format("didFailToRecordClick: {0} at location: {1}", error, location));
	}
コード例 #26
0
ファイル: ShowPictureAds.cs プロジェクト: minhtan/dap_thu
 void didFailToLoadInterstitial(CBLocation location, CBImpressionError er)
 {
     panelLoading.SetActive(false);
 }
コード例 #27
0
 // Token: 0x06000030 RID: 48 RVA: 0x0000337C File Offset: 0x0000177C
 private void didFailToLoadInPlay(CBLocation location, CBImpressionError error)
 {
     this.AddLog(string.Format("didFailToLoadInPlay: {0} at location: {1}", error, location));
 }
コード例 #28
0
ファイル: AdManager.cs プロジェクト: ttat/puzzlewarrior
 private void ChartboostOnDidFailToRecordClick(CBLocation cbLocation, CBImpressionError cbImpressionError)
 {
 }
コード例 #29
0
 private void onChartBoostFailedToLoadInterstitial(CBLocation param, CBImpressionError error)
 {
 }
コード例 #30
0
ファイル: AdManager.cs プロジェクト: ttat/puzzlewarrior
 private void ChartboostOnDidFailToLoadRewardedVideo(CBLocation cbLocation, CBImpressionError cbImpressionError)
 {
 }
コード例 #31
0
ファイル: QChartboost.cs プロジェクト: Saferer/happy-mapper
 void didFailToLoadInterstitial(CBLocation location, CBImpressionError error)
 {
     QuickAds.instance.ReportOnScreen("Chartboost interstitial ad fail to load");
 }
コード例 #32
0
 void didFailToLoadInPlay(CBLocation location, CBImpressionError error)
 {
 }
コード例 #33
0
	void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError error) {
		AddLog(string.Format("didFailToLoadRewardedVideo: {0} at location {1}", error, location));
	}
コード例 #34
0
 void didFailToLoadInterstitial(CBLocation location, CBImpressionError error)
 {
 }
コード例 #35
0
 void didFailToLoadMoreApps(CBLocation location, CBImpressionError error)
 {
     Debug.Log(string.Format("Arslan::Chartboost::didFailToLoadMoreApps: {0} at location: {1}", error, location));
 }
コード例 #36
0
 void didFailToLoadMoreApps(CBLocation location, CBImpressionError error)
 {
 }
コード例 #37
0
 void didFailToLoadInterstitial(CBLocation location, CBImpressionError error)
 {
     Debug.Log(string.Format("Arslan::Chartboost::didFailToLoadInterstitial: {0} at location {1}", error, location));
 }
コード例 #38
0
 void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError error)
 {
 }
コード例 #39
0
ファイル: AdManager.cs プロジェクト: ttat/puzzlewarrior
 private void ChartboostOnDidFailToLoadInterstitial(CBLocation cbLocation, CBImpressionError cbImpressionError)
 {
 }
 void didFailToRecordClick(CBLocation location, CBImpressionError error)
 {
     Debug.Log(string.Format("didFailToRecordClick: {0} at location: {1}", error, location));
 }
コード例 #41
0
 private void Chartboost_didFailToLoadMoreApps(CBLocation arg1, CBImpressionError arg2)
 {
     //throw new System.NotImplementedException();
     Debug.Log("Load more apps failed :" + arg2);
 }
 void didFailToLoadInPlay(CBLocation location, CBImpressionError error)
 {
     Debug.Log(string.Format("didFailToLoadInPlay: {0} at location: {1}", error, location));
 }
コード例 #43
0
 void FailToLoadInterstitial(CBLocation location, CBImpressionError error)
 {
     Debug.LogWarning("Ad fail to show at: " + location.ToString() + " with error: " + error.ToString());
 }
コード例 #44
0
ファイル: QChartboost.cs プロジェクト: Saferer/happy-mapper
 void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError error)
 {
     QuickAds.instance.ReportOnScreen("Chartboost rewarded ad fail to load");
 }
コード例 #45
0
 void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError error)
 {
     AddLog(string.Format("didFailToLoadRewardedVideo: {0} at location {1}", error, location));
 }
コード例 #46
0
 private void onChartboostFailedToLoadRewardedVideo(CBLocation param, CBImpressionError error)
 {
 }