forked from zxl/LaboratoryProtection
29 lines
719 B
C#
29 lines
719 B
C#
using DragonSoul.Shared;
|
|
|
|
namespace Mono.Event
|
|
{
|
|
public class UpgradeEventArgs : GameEventArgs
|
|
{
|
|
public static readonly int EventId = typeof(UpgradeEventArgs).GetHashCode();
|
|
public override int Id => EventId;
|
|
|
|
public long entityId;
|
|
public int level;
|
|
|
|
public UpgradeEventArgs(long entityId, int level)
|
|
{
|
|
this.entityId = entityId;
|
|
this.level = level;
|
|
}
|
|
}
|
|
public class ETTaskEventArgs : GameEventArgs
|
|
{
|
|
public static readonly int EventId = typeof(ETTaskEventArgs).GetHashCode();
|
|
public override int Id => EventId;
|
|
|
|
public ETTask task;
|
|
public string dec;
|
|
|
|
|
|
}
|
|
} |