Теперь без шела работает

This commit is contained in:
micialware committed 2025-03-01 19:06:18 +03:00
1 parent b5b766342e
commit bd3c623626
16 files changed
+219 -176

No files matched your search

@@ -9,19 +9,18 @@ namespace mROA.Implementation
public int OwnerId;
public static UniversalObjectIdentifier Null = new UniversalObjectIdentifier { ContextId = -2, OwnerId = -1 };
public static UniversalObjectIdentifier FromFlat(ulong flat) => new() { Flat = flat };
public override string ToString()
{
return $"{{ {nameof(ContextId)}: {ContextId}, {nameof(OwnerId)}: {OwnerId} }}";
}
public bool IsStatic => ContextId == -1;
public ulong Flat
{
get
{
return (ulong)OwnerId << 32 | (uint)ContextId;
}
get { return (ulong)OwnerId << 32 | (uint)ContextId; }
set
{
OwnerId = (int)(value >> 32);