You've already forked CC-Framework.Commercialization
release: 1.0.12
This commit is contained in:
@@ -15,9 +15,32 @@ namespace Runtime.ADAggregator
|
||||
public Action OnErrorAction;
|
||||
|
||||
public AD_Type ADType { get; internal set; }
|
||||
|
||||
public int State => curState;
|
||||
|
||||
public virtual int MaxLoadAttempts
|
||||
{
|
||||
get
|
||||
{
|
||||
return ADType == AD_Type.AwardVideo ? 2 : 1;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual float LoadRetryDelaySeconds
|
||||
{
|
||||
get
|
||||
{
|
||||
return ADType == AD_Type.AwardVideo ? 0.75f : 0f;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool AutoPreloadOnInit
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public ADPlayer Init(string key)
|
||||
{
|
||||
this.Key = key;
|
||||
@@ -45,6 +68,14 @@ namespace Runtime.ADAggregator
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnPlayRequestStarted()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void EnterAdScenario(string scenario)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 主动关闭广告
|
||||
/// </summary>
|
||||
@@ -59,4 +90,4 @@ namespace Runtime.ADAggregator
|
||||
curState = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user