NextTrainStudyItemEvent.cs 698 B

123456789101112131415161718192021222324252627282930
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using GameFramework;
  4. using GameFramework.Event;
  5. using UnityEngine;
  6. public class NextTrainStudyItemEvent : GameEventArgs
  7. {
  8. public static readonly int EventId = typeof(NextTrainStudyItemEvent).GetHashCode();
  9. public override int Id
  10. {
  11. get
  12. {
  13. return EventId;
  14. }
  15. }
  16. public ITHardWaryType ItHardWaryType;
  17. public static NextTrainStudyItemEvent Create(ITHardWaryType type)
  18. {
  19. NextTrainStudyItemEvent args = ReferencePool.Acquire<NextTrainStudyItemEvent>();
  20. args.ItHardWaryType = type;
  21. return args;
  22. }
  23. public override void Clear()
  24. {
  25. }
  26. }