Difference between revisions of "Lua:targetIs64Bit"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' targetIs64Bit() Returns true if the the process Cheat Engine is attached to is 64-bit. ===Function Parameters=== None == See also == * Lua')
 
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''function''' targetIs64Bit()
+
[[Category:Lua]]
 +
'''function''' targetIs64Bit() ''':''' boolean
  
 
Returns true if the the process Cheat Engine is attached to is 64-bit.
 
Returns true if the the process Cheat Engine is attached to is 64-bit.
  
===Function Parameters===
+
{{LuaFunctionParametersNone}}
None
 
  
== See also ==
+
{{LuaSeeAlso}}
* [[Lua]]
+
<pre>
 +
print( targetIs64Bit() and "x64" or "x86" )
 +
</pre>
 +
 
 +
=== Related Functions ===
 +
* [[Lua:cheatEngineIs64Bit|cheatEngineIs64Bit]]
 +
* [[Lua:getOpenedProcessID|getOpenedProcessID]]
 +
* [[Lua:getAddress|getAddress]]
 +
* [[Lua:getNameFromAddress|getNameFromAddress]]
 +
* [[Lua:getCommonModuleList|getCommonModuleList]]
 +
* [[Lua:inModule|inModule]]
 +
* [[Lua:inSystemModule|inSystemModule]]
 +
* [[Lua:enumModules|enumModules]]
 +
* [[Lua:debugProcess|debugProcess]]
 +
* [[Lua:debug_isDebugging|debug_isDebugging]]
 +
* [[Lua:debug_canBreak|debug_canBreak]]
 +
* [[Lua:debug_isBroken|debug_isBroken]]
 +
* [[Lua:debug_getBreakpointList|debug_getBreakpointList]]
 +
* [[Lua:debug_setBreakpoint|debug_setBreakpoint]]
 +
* [[Lua:debug_removeBreakpoint|debug_removeBreakpoint]]
 +
* [[Lua:debug_continueFromBreakpoint|debug_continueFromBreakpoint]]

Latest revision as of 01:05, 28 August 2020

function targetIs64Bit() : boolean

Returns true if the the process Cheat Engine is attached to is 64-bit.

Function Parameters[edit]

<none>

See also[edit]

print( targetIs64Bit() and "x64" or "x86" )

Related Functions[edit]