IT_FaultNextEvent.cs 735 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using GameFramework;
  4. using GameFramework.Event;
  5. using UnityEngine;
  6. public class IT_FaultNextEvent : GameEventArgs
  7. {
  8. public static readonly int EventId = typeof(IT_FaultNextEvent).GetHashCode();
  9. public override int Id
  10. {
  11. get
  12. {
  13. return EventId;
  14. }
  15. }
  16. public IT_FaultType FaultType;
  17. public int stepIndex=0;
  18. public static IT_FaultNextEvent Create(IT_FaultType _type,int index)
  19. {
  20. IT_FaultNextEvent args = ReferencePool.Acquire<IT_FaultNextEvent>();
  21. args.FaultType = _type;
  22. args.stepIndex = index;
  23. return args;
  24. }
  25. public override void Clear()
  26. {
  27. }
  28. }