Difference between revisions of "Lua:readBytesLocal"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
'''function''' readBytesLocal(''Address'', ''Bytecount'', ''ReturnAsTable'' )
+
'''function''' readBytesLocal(''Address'', ''Bytecount'', ''ReturnAsTable'' ) ''':''' (byte, ...) '''-''' table
  
 
Returns the bytes at the given address, in Cheat Engine's memory.
 
Returns the bytes at the given address, in Cheat Engine's memory.

Revision as of 01:54, 11 March 2017

function readBytesLocal(Address, Bytecount, ReturnAsTable ) : (byte, ...) - table

Returns the bytes at the given address, in Cheat Engine's memory.

Note: The bytes read are from the Cheat Engine process instead of the targeted process.

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read
Bytecount Integer The number of bytes to read
ReturnAsTable Boolean Returns a table object instead of multiple return values


See also

Related Functions