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 OverLevels = new Dictionary(); //广告最小时间间隔 public static Dictionary Intervals = new Dictionary(); } }