TechbloxModdingAPI/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs

44 lines
909 B
C#
Raw Normal View History

2019-12-14 04:42:55 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2019-12-14 04:42:55 +00:00
using Svelto.ECS;
namespace GamecraftModdingAPI.Utility
{
2019-12-19 20:42:50 +00:00
public static class ApiExclusiveGroups
2019-12-14 04:42:55 +00:00
{
2020-05-16 16:53:58 +00:00
private static ExclusiveGroup _eventsExclusiveGroup = null;
public static ExclusiveGroup eventsExclusiveGroup
{
get
{
if (_eventsExclusiveGroup == null)
{
_eventsExclusiveGroup = new ExclusiveGroup("GamecraftModdingAPI EventGroup");
}
return _eventsExclusiveGroup;
}
}
2019-12-14 04:42:55 +00:00
public static uint eventID;
2020-05-16 16:53:58 +00:00
private static ExclusiveGroup _versionGroup = null;
public static ExclusiveGroup versionGroup
{
get
{
if (_versionGroup == null)
{
_versionGroup = new ExclusiveGroup("GamecraftModdingAPI VersionGroup");
}
return _versionGroup;
}
}
2019-12-14 04:42:55 +00:00
}
}