A stable modding interface between Techblox and mods https://mod.exmods.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ApiExclusiveGroups.cs 909B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Svelto.ECS;
  7. namespace GamecraftModdingAPI.Utility
  8. {
  9. public static class ApiExclusiveGroups
  10. {
  11. private static ExclusiveGroup _eventsExclusiveGroup = null;
  12. public static ExclusiveGroup eventsExclusiveGroup
  13. {
  14. get
  15. {
  16. if (_eventsExclusiveGroup == null)
  17. {
  18. _eventsExclusiveGroup = new ExclusiveGroup("GamecraftModdingAPI EventGroup");
  19. }
  20. return _eventsExclusiveGroup;
  21. }
  22. }
  23. public static uint eventID;
  24. private static ExclusiveGroup _versionGroup = null;
  25. public static ExclusiveGroup versionGroup
  26. {
  27. get
  28. {
  29. if (_versionGroup == null)
  30. {
  31. _versionGroup = new ExclusiveGroup("GamecraftModdingAPI VersionGroup");
  32. }
  33. return _versionGroup;
  34. }
  35. }
  36. }
  37. }