29 lines
824 B
C#
29 lines
824 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace WZ
|
|
{
|
|
[System.Serializable]
|
|
public class IvRulesData
|
|
{
|
|
public int type;
|
|
public int overLevel; //每跳过几次触发
|
|
public int interval; //广告最小时间间隔
|
|
public int skipLevel; //首次安装跳过几次触发不展示广告
|
|
}
|
|
|
|
public static class IvRulesKey
|
|
{
|
|
//首次安装跳过几次触发不展示广告
|
|
public const string KEY_SKIPLEVEL = "KEY_IVRULES_SKIPLEVEL";
|
|
}
|
|
|
|
public static class IvRulesConst
|
|
{
|
|
//每跳过几次触发
|
|
public static Dictionary<string, int> OverLevels = new Dictionary<string, int>();
|
|
|
|
//广告最小时间间隔
|
|
public static Dictionary<string, long> Intervals = new Dictionary<string, long>();
|
|
}
|
|
} |