//using UnityEngine; //using System.Collections; //public class LogicFighterBuff //{ // /// // /// 类型ID // /// // private string mTid = string.Empty; // /// // /// iid // /// // private int mIID = -1; // /// // /// 最大层数 // /// // private int mMaxLayer = 0; // /// // /// 当前层数 // /// // private int mLayer = 0; // /// // /// (被)触发参数 // /// // private string mTriggerParm = string.Empty; // /// // /// (技能效果)执行参数 // /// // private string mEffectParm = string.Empty; // /// // /// 类型 // /// // private EBuffEffect mEffect = EBuffEffect.EBUFF_EFFECT_NONE; // /// // /// 当前层数 // /// // public int Layer // { // get { return mLayer; } // set { mLayer = value; } // } // /// // /// 返回触发参数 // /// // /// // public string TriggerParm // { // get { return mTriggerParm; } // set { mTriggerParm = value; } // } // /// // /// 返回运行参数 // /// // /// // public string EffectParm // { // get { return mEffectParm; } // set { mEffectParm = value; } // } // /// // /// 效果类型 // /// // public EBuffEffect Effect // { // get { return mEffect; } // } // /// // /// BuffTid(模板) // /// // public string Tid // { // get { return this.mTid; } // } // /// // /// BuffIid // /// // public int Iid // { // get { return this.mIID; } // } // /// // /// // /// // /// // /// // public LogicFighterBuff(string tid) // { // this.mTid = tid; // this.mMaxLayer = BuffProxy.Instance.GetBuffInfoById(tid).maxlayer; // this.mEffect = (EBuffEffect)BuffProxy.Instance.GetBuffInfoById(tid).effect; // } // /// // /// 加层 // /// // public void ToAdd(int iid, string parm = "") // { // this.mIID = iid; // this.mTriggerParm = parm; // this.mLayer++; // } //}