Lua:getAddressSafe

From Cheat Engine
Revision as of 19:09, 18 March 2019 by Dark Byte (talk | contribs) (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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