@ -9,12 +9,12 @@ public unsafe class IdRef
{
{
public World World { get ; }
public World World { get ; }
public Id Id { get ; }
public Id Id { get ; }
public IdFlags Flags = > Id . Flags ;
public IdFlags Flags = > Id . Flags ;
public bool IsPair = > Id . IsPair ;
public bool IsPair = > Id . IsPair ;
public bool IsWildcard = > Id . IsWildcard ;
public bool IsWildcard = > Id . IsWildcard ;
public bool IsValid = > ecs_id_is_valid ( World , this ) ;
public bool IsValid = > ecs_id_is_valid ( World , this ) ;
public bool IsInUse = > ecs_id_in_use ( World , this ) ;
public bool IsInUse = > ecs_id_in_use ( World , this ) ;
public int Count = > ecs_count_id ( World , this ) ;
public int Count = > ecs_count_id ( World , this ) ;
@ -26,10 +26,10 @@ public unsafe class IdRef
public static IdRef Pair ( World world , Entity relation , Entity target )
public static IdRef Pair ( World world , Entity relation , Entity target )
= > new ( world , Id . Pair ( relation , target ) ) ;
= > new ( world , Id . Pair ( relation , target ) ) ;
public static IdRef Pair ( Entity relation , EntityRef target )
= > Pair ( target . World , relation , target ) ;
public static IdRef Pair ( EntityRef relation , Entity target )
public static IdRef Pair ( EntityRef relation , Entity target )
= > Pair ( relation . World , relation , target ) ;
= > Pair ( relation . World , relation , target ) ;
public static IdRef Pair ( Entity relation , EntityRef target )
= > Pair ( target . World , relation , target ) ;
public static IdRef Pair ( EntityRef relation , EntityRef target )
public static IdRef Pair ( EntityRef relation , EntityRef target )
= > Pair ( relation . World , relation , target ) ;
= > Pair ( relation . World , relation , target ) ;