Re-introduce Address as int64 and remove the opt-in (#2414)

This commit is contained in:
Benoist
2026-03-15 00:43:25 +01:00
committed by GitHub
parent b492426a79
commit 155cdc318c
28 changed files with 287 additions and 404 deletions
+8 -5
View File
@@ -78,6 +78,14 @@ struct Plugin
#include <commandline>
#include <entitylump>
typedef Address = int64;
public const int64 __Int64_Address__ = 0;
/**< Equivallent to nullptr */
public const int64 Address_Null = 0;
/**< Size of a pointer in bytes (same as `sizeof(void*)`) */
public const int64 Address_PointerSize = 0;
enum APLRes
{
APLRes_Success = 0, /**< Plugin should load */
@@ -725,11 +733,6 @@ enum NumberType
NumberType_Int32
};
enum Address
{
Address_Null = 0 // a typical invalid result when an address lookup fails
};
/**
* Load up to 4 bytes from a memory address.
*