diff options
author | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
commit | e9ea621b93fbb58d9edfca8375918791637bbd52 (patch) | |
tree | 19ce3b1c1f2d51eda6878c9d0f2c9edc27f13650 /Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs |
+init
Diffstat (limited to 'Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs')
-rw-r--r-- | Client/Assembly-CSharp/GoogleMobileAds/Common/RewardedAdDummyClient.cs | 59 |
1 files changed, 59 insertions, 0 deletions
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<EventArgs> OnAdLoaded; + + public event EventHandler<AdErrorEventArgs> OnAdFailedToLoad; + + public event EventHandler<AdErrorEventArgs> OnAdFailedToShow; + + public event EventHandler<EventArgs> OnAdOpening; + + public event EventHandler<EventArgs> OnAdClosed; + + public event EventHandler<Reward> 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); + } + } +} |