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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|