| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | 
							- using Excel2Json;
 
- using Fort23.Core;
 
- using Fort23.UTool;
 
- namespace GameLogic.Combat.Buff
 
- {
 
-     public class BuffInfo: CObject
 
-     {
 
-         /// <summary>
 
-         /// 来源
 
-         /// </summary>
 
-         public object source;
 
-         public static BuffInfo GetBuffInfo(int id, float buffTime,int count,object  source)
 
-         {
 
-             BuffInfo buffInfo=  CObjectPool.Instance.Fetch<BuffInfo>();
 
-             buffInfo.Init(id, buffTime,count);
 
-             buffInfo.source = source;
 
-             return buffInfo;
 
-         }
 
-         public static BuffInfo GetBuffInfo(int id, int count,object  source)
 
-         {
 
-             BuffInfo buffInfo=  CObjectPool.Instance.Fetch<BuffInfo>();
 
-             BuffConfig buffConfig=  ConfigComponent.Instance.Get<BuffConfig>(id);
 
-             buffInfo.Init(id, buffConfig.buffTime,count);
 
-             buffInfo.source = source;
 
-             return buffInfo;
 
-         }
 
-         public BuffConfig BuffConfig;
 
-         public float buffTime;
 
-         public int count;
 
-         
 
-         public void Init(int id, float buffTime,int count)
 
-         {
 
-             this.buffTime = buffTime;
 
-             this.count = count;
 
-             BuffConfig = ConfigComponent.Instance.Get<BuffConfig>(id);
 
-         }
 
-         public override void ActiveObj()
 
-         {
 
-             
 
-         }
 
-         public override void DormancyObj()
 
-         {
 
-             source = null;
 
-         }
 
-     }
 
- }
 
 
  |