Difference between revisions of "Lua:getAddressSafe"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Lua '''function''' getAddressSafe(''AddressString'', ''local'' OPTIONAL) ''':''' integer Passes the given string to Cheat Engine's symbol handler and returns the co…')
(No difference)

Revision as of 03:40, 18 April 2018

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

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


See also

Related Functions