From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- .../Common/RewardedAdDummyClient.cs | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs (limited to 'Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs') diff --git a/Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs b/Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs new file mode 100644 index 0000000..1271c6d --- /dev/null +++ b/Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs @@ -0,0 +1,59 @@ +using System; +using System.Reflection; +using GoogleMobileAds.Api; +using UnityEngine; + +namespace GoogleMobileAds.Common +{ + public class RewardedAdDummyClient : IRewardedAdClient + { + public event EventHandler OnAdLoaded; + + public event EventHandler OnAdFailedToLoad; + + public event EventHandler OnAdFailedToShow; + + public event EventHandler OnAdOpening; + + public event EventHandler OnAdClosed; + + public event EventHandler OnUserEarnedReward; + + public RewardedAdDummyClient() + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + } + + public void CreateRewardedAd(string adUnitId) + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + } + + public void LoadAd(AdRequest request) + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + } + + public bool IsLoaded() + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + return true; + } + + public void Show() + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + } + + public string MediationAdapterClassName() + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + return null; + } + + public void SetServerSideVerificationOptions(ServerSideVerificationOptions serverSideVerificationOptions) + { + Debug.Log("Dummy " + MethodBase.GetCurrentMethod().Name); + } + } +} -- cgit v1.1-26-g67d0