36 lines
706 B
C#
36 lines
706 B
C#
|
using System;
|
||
|
|
||
|
namespace RND
|
||
|
{
|
||
|
|
||
|
public class NullAdsSDK : IAdsSDK
|
||
|
{
|
||
|
public string BannerUnit { get; }
|
||
|
public string InterstitialUnit { get; }
|
||
|
public string RewardUnit { get; }
|
||
|
public string SdkKey { get; }
|
||
|
|
||
|
public void Init(Action callback)
|
||
|
{
|
||
|
callback.Invoke();
|
||
|
}
|
||
|
|
||
|
public bool HasRewardVideo() => true;
|
||
|
public bool HasInterstitialVideo() => false;
|
||
|
|
||
|
public void ShowBanner()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public void ShowInterstitial()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public void ShowReward()
|
||
|
{
|
||
|
Ads.RewardReceived?.Invoke();
|
||
|
Log.Debug("NullAdsSDK.ShowReward");
|
||
|
}
|
||
|
}
|
||
|
}
|