You've already forked CC-Framework.Commercialization
update core
This commit is contained in:
@@ -30,7 +30,12 @@ namespace Runtime.ADAggregator
|
||||
}
|
||||
|
||||
public abstract void ShowAD(Action onClose, Action<bool> onVideoComplete);
|
||||
public abstract bool IsReadly();
|
||||
|
||||
public virtual bool IsReadly()
|
||||
{
|
||||
return this.curState == 2;
|
||||
}
|
||||
|
||||
public abstract void LoadAD();
|
||||
|
||||
public virtual void OnInit()
|
||||
@@ -43,5 +48,12 @@ namespace Runtime.ADAggregator
|
||||
public virtual void CloseAD()
|
||||
{
|
||||
}
|
||||
|
||||
public void OnError(object code, string message)
|
||||
{
|
||||
this.OnErrorAction?.Invoke();
|
||||
this.OnErrorAction = null;
|
||||
curState = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user