FaultChoicesChangeEvent.cs 679 B

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