zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/Hotfix/Logic/Behaviour/Game/Common/BuffStateInfo.cs

21 lines
465 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using System;
namespace ET
{
2021-04-10 19:49:32 +08:00
public struct BuffStateInfo : IEquatable<BuffStateInfo>
2021-04-08 20:09:59 +08:00
{
2021-04-10 19:49:32 +08:00
public long Id;
2021-04-08 20:09:59 +08:00
public enum ChangeType { Add, Reduce }
public ChangeType changeType;
public bool isBuff;
2021-04-12 23:38:54 +08:00
public string iconId;
2021-04-08 20:09:59 +08:00
public string iconDesc;
2021-04-10 19:49:32 +08:00
public long leastTime;
2021-04-08 20:09:59 +08:00
public int time;
public bool Equals(BuffStateInfo other)
{
2021-04-10 19:49:32 +08:00
return Id == other.Id;
2021-04-08 20:09:59 +08:00
}
}
}