Rework metadata struct loading to use new struct versioning
This commit is contained in:
@@ -4,9 +4,9 @@ using VersionedSerialization.Attributes;
|
||||
|
||||
namespace Il2CppInspector.Next;
|
||||
|
||||
public struct Pointer<T>(ulong value = 0) : IReadable, IEquatable<Pointer<T>> where T : IReadable, new()
|
||||
public struct Pointer<T>(ulong value = 0) : IReadable, IEquatable<Pointer<T>> where T : struct, IReadable
|
||||
{
|
||||
[CustomSerialization("reader.ReadNUInt();", "is32Bit ? 4 : 8")]
|
||||
[NativeInteger]
|
||||
private ulong _value = value;
|
||||
|
||||
public readonly ulong PointerValue => _value;
|
||||
|
||||
Reference in New Issue
Block a user