Fix groups stealing Ids
This commit is contained in:
parent
782e00e3dd
commit
500cb9b716
2 changed files with 27 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.1</Version>
|
||||
<Authors>Exmods</Authors>
|
||||
<PackageLicenseExpression>GNU General Public Licence 3+</PackageLicenseExpression>
|
||||
<PackageProjectUrl>https://git.exmods.org/modtainers/GamecraftModdingAPI</PackageProjectUrl>
|
||||
|
|
|
@ -10,10 +10,34 @@ namespace GamecraftModdingAPI.Utility
|
|||
{
|
||||
public static class ApiExclusiveGroups
|
||||
{
|
||||
public static readonly ExclusiveGroup eventsExclusiveGroup = new ExclusiveGroup("GamecraftModdingAPI EventGroup");
|
||||
private static ExclusiveGroup _eventsExclusiveGroup = null;
|
||||
|
||||
public static ExclusiveGroup eventsExclusiveGroup
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_eventsExclusiveGroup == null)
|
||||
{
|
||||
_eventsExclusiveGroup = new ExclusiveGroup("GamecraftModdingAPI EventGroup");
|
||||
}
|
||||
return _eventsExclusiveGroup;
|
||||
}
|
||||
}
|
||||
|
||||
public static uint eventID;
|
||||
|
||||
public static readonly ExclusiveGroup versionGroup = new ExclusiveGroup("GamecraftModdingAPI VersionGroup");
|
||||
private static ExclusiveGroup _versionGroup = null;
|
||||
|
||||
public static ExclusiveGroup versionGroup
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_versionGroup == null)
|
||||
{
|
||||
_versionGroup = new ExclusiveGroup("GamecraftModdingAPI VersionGroup");
|
||||
}
|
||||
return _versionGroup;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue