28 lines
802 B
C#
28 lines
802 B
C#
using Axibug;
|
|
using Axibug.Event;
|
|
|
|
namespace Game
|
|
{
|
|
public class MainPlayerPushNewMotionEventArgs : LogicEventArgs
|
|
{
|
|
public static readonly int EventId = typeof(MainPlayerPushNewMotionEventArgs).GetHashCode();
|
|
public E_MOTION_TYPE Motion = E_MOTION_TYPE.None;
|
|
|
|
/// <summary>
|
|
/// 获取加载数据表成功事件编号。
|
|
/// </summary>
|
|
public override int Id { get { return EventId; } }
|
|
|
|
public static MainPlayerPushNewMotionEventArgs Create(E_MOTION_TYPE motion)
|
|
{
|
|
MainPlayerPushNewMotionEventArgs s = ReferencePool.Acquire<MainPlayerPushNewMotionEventArgs>();
|
|
s.Motion = motion;
|
|
return s;
|
|
}
|
|
|
|
public override void Clear()
|
|
{
|
|
Motion = E_MOTION_TYPE.None;
|
|
}
|
|
}
|
|
} |