GlobalEvents.cs 437 B

12345678910111213141516171819
  1. using OpenSEMI.Ctrlib.Controls;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Venus_Core
  8. {
  9. public static class VenusGlobalEvents
  10. {
  11. public static event Action<Slot> SlotRightClickChangedEvent;
  12. public static void OnSlotRightClickChanged(Slot slot)
  13. {
  14. SlotRightClickChangedEvent?.Invoke(slot);
  15. }
  16. }
  17. }