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.

56 lines
1.2KB

  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. private static ExclusiveGroup _customBlockGroup;
  37. public static ExclusiveGroup customBlockGroup
  38. {
  39. get
  40. {
  41. if (_customBlockGroup == null)
  42. _customBlockGroup = new ExclusiveGroup("GamecraftModdingAPI CustomBlockGroup");
  43. return _customBlockGroup;
  44. }
  45. }
  46. }
  47. }