Cool_FaultStartEvent.cs 674 B

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