diff --git a/src/Utils/UncheckedCoreUtility.cs b/src/Utils/UncheckedCoreUtility.cs index 196f845..448258f 100644 --- a/src/Utils/UncheckedCoreUtility.cs +++ b/src/Utils/UncheckedCoreUtility.cs @@ -6,6 +6,16 @@ namespace DCFApixels.DragonECS.UncheckedCore { public static class UncheckedCoreUtility { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static entlong CreateEntLong(int entityID, short gen, short worldID) + { + return new entlong(entityID, gen, worldID); + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static entlong CreateEntLong(long entityGenWorld) + { + return new entlong(entityGenWorld); + } [MethodImpl(MethodImplOptions.AggressiveInlining)] public static EcsSpan CreateSpan(short worldID, ReadOnlySpan entitesArray) {