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…')
 
(Replaced content with '<span style="font-size:25px;color:red">Sorry! Content not available.</span>')
Line 1: Line 1:
[[Category:Lua]]
+
<span style="font-size:25px;color:red">Sorry! Content not available.</span>
'''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]]
 

Revision as of 16:17, 16 March 2019

Sorry! Content not available.