using GameFramework; using GameFramework.Event; namespace GeometryTD.CustomEvent { public sealed class RepoParticipantAssignRequestedEventArgs : GameEventArgs { public static int EventId => typeof(RepoParticipantAssignRequestedEventArgs).GetHashCode(); public override int Id => EventId; public long TowerItemId { get; private set; } public static RepoParticipantAssignRequestedEventArgs Create(long towerItemId) { RepoParticipantAssignRequestedEventArgs args = ReferencePool.Acquire(); args.TowerItemId = towerItemId; return args; } public override void Clear() { TowerItemId = 0; } } }