using Axibug; using Axibug.Event; namespace Game { public class RoleDeadAnimeEndEventArgs : LogicEventArgs { public static readonly int EventId = typeof(RoleDeadAnimeEndEventArgs).GetHashCode(); public E_NODE_TYPE Type = E_NODE_TYPE.N_FREE; public int RoleID = 0; public int AttackTypeId;//TODO /// /// 获取加载数据表成功事件编号。 /// public override int Id { get { return EventId; } } public static RoleDeadAnimeEndEventArgs Create(E_NODE_TYPE type, int roleID) { RoleDeadAnimeEndEventArgs s = ReferencePool.Acquire(); s.Type = type; s.RoleID = roleID; return s; } public override void Clear() { Type = E_NODE_TYPE.N_FREE; RoleID = 0; } } }