mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
add UncheckedCoreUtility.CreateEntLong
This commit is contained in:
parent
7ce5e0b19b
commit
d970212c23
@ -6,6 +6,16 @@ namespace DCFApixels.DragonECS.UncheckedCore
|
|||||||
{
|
{
|
||||||
public static class UncheckedCoreUtility
|
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)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static EcsSpan CreateSpan(short worldID, ReadOnlySpan<int> entitesArray)
|
public static EcsSpan CreateSpan(short worldID, ReadOnlySpan<int> entitesArray)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user