Difference between revisions of "Lua:getAddressSafe"
Jump to navigation
Jump to search
(Replaced content with '<span style="font-size:25px;color:red">Sorry! Content not available.</span>') |
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13) |
||
Line 1: | Line 1: | ||
− | + | [[Category:Lua]] | |
+ | '''function''' getAddressSafe(''AddressString'', ''local'' OPTIONAL) ''':''' integer | ||
+ | |||
+ | Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer, or nil if not found. Similar to [[Lua:getAddress|getAddress]] when errorOnLookup is false, but returns nil instead. Can be a module name or an export. Set ''local'' to true if you wish to query the symbol table of the CE 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 | ||
+ | |- | ||
+ | |AddressString | ||
+ | |[[CEAddressString]] | ||
+ | |The AddressString to convert to an integer | ||
+ | |- | ||
+ | |local | ||
+ | |Boolean | ||
+ | |Set to true if you wish to query the symbol table of the CE process | ||
+ | |} | ||
+ | |||
+ | |||
+ | {{LuaSeeAlso}} | ||
+ | |||
+ | === Related Functions === | ||
+ | * [[Lua:getAddress|getAddress]] | ||
+ | * [[Lua:getNameFromAddress|getNameFromAddress]] | ||
+ | * [[Lua:getCommonModuleList|getCommonModuleList]] | ||
+ | * [[Lua:inModule|inModule]] | ||
+ | * [[Lua:inSystemModule|inSystemModule]] | ||
+ | * [[Lua:targetIs64Bit|targetIs64Bit]] | ||
+ | * [[Lua:enumModules|enumModules]] |
Latest revision as of 19:09, 18 March 2019
function getAddressSafe(AddressString, local OPTIONAL) : integer
Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer, or nil if not found. Similar to getAddress when errorOnLookup is false, but returns nil instead. Can be a module name or an export. Set local to true if you wish to query the symbol table of the CE process.
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
AddressString | CEAddressString | The AddressString to convert to an integer |
local | Boolean | Set to true if you wish to query the symbol table of the CE process |