memory
Interact with our internally used memory reader as a easy to use wrapper
Read memory
Client
memory.getGameClient();Returns the game client [client.dll]
Pointer
memory.getPointer(IntPtr: address, int: offset);Bytes
memory.getBytes(IntPtr: address, int: offset, int: length);Integer
memory.getInt(IntPtr: address, int: offset);Float
memory.getFloat(IntPtr: address, int: offset);Double
memory.getDouble(IntPtr: address, int: offset);Long
memory.getLong(IntPtr: address, int: offset);String
memory.getString(IntPtr: address, int: offset, int: length);Char
memory.getChar(IntPtr: address);Attach
memory.attach();Automatically attach the memory reader to the CS2 process since the client can be opened without CS2 running
Is running
memory.isGameRunning()Return's a boolean based on if the CS2 process is running.
Is attached?
memory.isAttached();Return's a boolean based on if the memory reader is attached to the CS2 process Example:
if (!memory.isAttached())
{
client.print("Attempting to attach memory reader");
var status = memory.attach();
client.print(status);
}
else
{
client.print("Memory reader is already attached");
}Last updated
Was this helpful?