TechbloxModdingAPI/GamecraftModdingAPI/Utility/ApiExclusiveGroups.cs

56 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Svelto.ECS;
namespace GamecraftModdingAPI.Utility
{
public static class ApiExclusiveGroups
{
private static ExclusiveGroup _eventsExclusiveGroup = null;
public static ExclusiveGroup eventsExclusiveGroup
{
get
{
if (_eventsExclusiveGroup == null)
{
_eventsExclusiveGroup = new ExclusiveGroup("GamecraftModdingAPI EventGroup");
}
return _eventsExclusiveGroup;
}
}
public static uint eventID;
private static ExclusiveGroup _versionGroup = null;
public static ExclusiveGroup versionGroup
{
get
{
if (_versionGroup == null)
{
_versionGroup = new ExclusiveGroup("GamecraftModdingAPI VersionGroup");
}
return _versionGroup;
}
}
private static ExclusiveGroup _customBlockGroup;
public static ExclusiveGroup customBlockGroup
{
get
{
if (_customBlockGroup == null)
_customBlockGroup = new ExclusiveGroup("GamecraftModdingAPI CustomBlockGroup");
return _customBlockGroup;
}
}
}
}