memory

Used to read game memory

When using the Memory API the info is returned directly from memory. It's strongly advised that these functions are never called within the paint callback. Calling these functions within the paint callback, may cause unexpected performance drops. Querying the game's memory is expensive, and doing it every frame is not optimal.

Functions:

Read Byte

memory.read_byte(address);

Performs a read request with the type byte at the specified address.

Read Bool

memory.read_bool(address);

Performs a read request with the type bool at the specified address.

Read Float

memory.read_float(address);

Performs a read request with the type float at the specified address.

Read Int

memory.read_int(address);

Performs a read request with the type int at the specified address.

Read String

memory.read_string(address);

Copies a buffer of characters from the specified address and automatically terminates the string at a invalid character.

Read Vector

memory.read_vector(address);

Performs a read request with the type vector at the specified address. Keep in mind vector being the custom type similar to the one accessible via the API.

Read Short

memory.read_short(address);

Performs a read request with the type short at the specified address.

Read Double

memory.read_double(address);

Performs a read request with the type double at the specified address.

Read Address

memory.read_address(address);

Performs a read request with the type uint64_t at the specified address.

Last updated