Difference between revisions of "Lua:getAddressList"

From Cheat Engine
Jump to navigation Jump to search
m (Created page with ''''getAddressList()''' Returns the cheat table addresslist object. Example: addresslist=getAddressList() '''Return''' : StringList object. --~~~~')
 
m
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''getAddressList()'''  
+
[[Category:Lua]]
Returns the cheat table addresslist object.
+
{{CodeBox|'''function''' getAddressList() ''':''' Addresslist}}
  
Example:
+
Returns the main Cheat Engine [[Lua:Class:Addresslist|Addresslist]] object.
  
addresslist=getAddressList()
+
This is the same object that is available through the global [[Lua:AddressList|AddressList]] variable.
  
'''Return''' : StringList object.  
+
===Function Parameters===
 +
This function has no parameters.
  
 +
===Returns===
 +
Addresslist — The main Cheat Engine address list object.
  
 +
===Examples===
  
 +
<syntaxhighlight lang="lua" line>
 +
local addressList = getAddressList()
  
 +
print("Record count: " .. tostring(addressList.Count))
 +
</syntaxhighlight>
  
 +
{{LuaSeeAlso}}
  
 +
{{Forms}}
  
--[[User:Freiza|Freiza]] 21:50, 13 April 2012 (UTC)
+
{{CheatTable}}

Latest revision as of 19:05, 25 June 2026

<> Lua API Reference

function getAddressList() : Addresslist

Returns the main Cheat Engine Addresslist object.

This is the same object that is available through the global AddressList variable.

Function Parameters[edit]

This function has no parameters.

Returns[edit]

Addresslist — The main Cheat Engine address list object.

Examples[edit]

1 local addressList = getAddressList()
2 
3 print("Record count: " .. tostring(addressList.Count))

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Form Related Classes

Cheat Table Related Functions