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>
|
|||
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD><DDB1>ɹ<EFBFBD><C9B9>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>š<EFBFBD>
|
|||
|
/// </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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|