forked from zxl/LaboratoryProtection
17 lines
431 B
C#
17 lines
431 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|