TechbloxModdingAPI/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs

56 lines
1.2 KiB
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;
}
2020-12-26 00:59:06 +00:00
}
private static ExclusiveGroup _customBlockGroup;
public static ExclusiveGroup customBlockGroup
{
get
{
if (_customBlockGroup == null)
_customBlockGroup = new ExclusiveGroup("GamecraftModdingAPI CustomBlockGroup");
return _customBlockGroup;
}
}
2019-12-14 04:42:55 +00:00
}
}