Difference between revisions of "Lua:readBytesLocal"
Jump to navigation
Jump to search
(Victor) |
m (moved readBytesLocal to Lua:readBytesLocal) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Lua]] | |
+ | '''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=== | ||
+ | {|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0" | ||
+ | !align="left"|Parameter | ||
+ | !align="left"|Type | ||
+ | !style="width: 80%;background-color:white;" align="left"|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 | ||
+ | |} | ||
+ | |||
+ | |||
+ | {{LuaSeeAlso}} | ||
+ | |||
+ | === 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]
- readBytes
- readSmallInteger
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeSmallInteger
- writeInteger
- writeQword
- writeFloat
- writeDouble
- writeString
- readBytesLocal
- readIntegerLocal
- readQwordLocal
- readPointerLocal
- readFloatLocal
- readDoubleLocal
- readStringLocal
- writeBytesLocal
- writeIntegerLocal
- writeQwordLocal
- writeFloatLocal
- writeDoubleLocal
- writeStringLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToString
- byteTableToWideString