Cool_SelectFaultItemEvent.cs 720 B

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