using UnityEngine; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; /// /// buff类型 /// public enum EBuffType { /// /// 增益 /// add = 1, /// /// 减益 /// sub } /// /// 描述:2019年6月3日 战斗中的道具 /// 作者:jkyang,gwang /// public class BuffMo0603 { #region ‘ 属性 ' /// /// id /// public int id { get; set; } /// /// type /// public string name { get; set; } /// /// 增益减益 /// public int type { get; set; } /// /// 效果类型 /// public int actType { get; set; } /// /// 属性类型 /// public int attrType { get; set; } /// /// 属性参数 /// public double attrValue { get; set; } /// /// 持续时间 /// public int keepTime { get; set; } /// /// type /// public string icon { get; set; } /// /// 描述 /// public string des { get; set; } /// /// 是否移除效果 /// public int removeEffect { get; set; } /// /// 间隔执行时间 /// public double gapTime { get; set; } #endregion #region 方法 /// xiu /// 取指定模型配置数据 /// /// /// public static BuffMo0603 GetBuffMo0603(int id) { return new BuffMo0603(); } public bool RemoveEffect { get { return removeEffect != 0; } } /// /// buff类型(增益,减益) /// /// public EBuffType BuffType() { return (EBuffType)type; } #endregion }