Difference between revisions of "Lua:readBytesLocal"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' readBytes(''Address'', ''Bytecount'', ''ReturnAsTable'' ) Returns the bytes at the given address Note: The bytes read are from the Cheat Engine process instead o…')
 
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''function''' readBytes(''Address'', ''Bytecount'', ''ReturnAsTable'' )
+
[[Category:Lua]]
 +
'''function''' readBytesLocal(''Address'', ''Bytecount'', ''ReturnAsTable'' ) ''':''' (byte, ...) '''-''' table
  
Returns the bytes at the given address
+
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
+
Note: The bytes read are from the Cheat Engine process instead of the targeted process.
  
 
===Function Parameters===
 
===Function Parameters===
Line 12: Line 13:
 
|-
 
|-
 
|Address
 
|Address
|String or Integer
+
|[[CEAddressString]] or Integer
 
|The address to read
 
|The address to read
 
|-
 
|-
Line 25: Line 26:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[readBytes]]
+
 
 +
=== Related Functions ===
 +
{{ReadWriteMemory}}

Latest revision as of 00:02, 25 January 2018

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[edit]

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[edit]

Related Functions[edit]