Difference between revisions of "Lua:Class:Addresslist"

From Cheat Engine
Jump to navigation Jump to search
(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>
Addresslist '''class''': ('''Inheritance''': ''[[Lua:Class:Panel|Panel]]''-&gt;''[[Lua:Class:WinControl|WinControl]]''-&gt;''[[Lua:Class:Control|Control]]''-&gt;''[[Lua:Class:Component|Component]]''-&gt;''[[Lua:Class:Object|Object]]'')
 
 
 
Class for manipulating the Cheat Engine form's address list.
 
 
 
== Properties ==
 
; Count &#58; integer
 
: The number of records in the table.
 
 
 
; SelCount &#58; integer
 
: The number of records that are selected.
 
 
 
; SelectedRecord &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: The main selected record.
 
 
 
; MemoryRecord[''index''] &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: Array to access the individual memory records.
 
 
 
; [''index''] &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: Default accessor.
 
 
 
== Methods ==
 
; getCount() &#58; integer
 
: Returns the number of memory records in the address list.
 
 
 
; getMemoryRecord(''index'') &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: returns a [[Lua:Class:MemoryRecord|MemoryRecord]] object based on it's index.
 
 
 
; getMemoryRecordByDescription(''description'') &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: returns a [[Lua:Class:MemoryRecord|MemoryRecord]] object based on it's description.
 
 
 
; getMemoryRecordByID(''ID'') &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: returns a [[Lua:Class:MemoryRecord|MemoryRecord]] object based on it's ID.
 
 
 
; createMemoryRecord() &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: creates an generic cheat table entry and add it to the list
 
 
 
; getSelectedRecords() &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: Returns a table containing all the selected records
 
 
 
; doDescriptionChange()
 
: Will show the GUI window to change the description of the selected entry
 
 
 
; doAddressChange()
 
: Will show the GUI window to change the address of the selected entry
 
 
 
; doTypeChange()
 
: Will show the GUI window to change the type of the selected entries
 
 
 
; doValueChange()
 
: Will show the GUI window to change the value of the selected entries
 
 
 
; getSelectedRecord() &#58; [[Lua:Class:MemoryRecord|MemoryRecord]]
 
: Gets the main selected memory record.
 
 
 
; setSelectedRecord(''memrec'')
 
: Sets the currently selected memory record. This will unselect all other entries.
 
 
 
== Examples ==
 
local addressList = getAddressList()
 
if addressList.Count >= 1 then
 
  local mrHealth = addressList.getMemoryRecordByDescription('Health')
 
end
 
local mrMana = addressList.createMemoryRecord()
 
 
 
{{LuaSeeAlso}}
 
 
 
=== Related Functions ===
 
* [[Lua:getMainForm|getMainForm]]
 
* [[Lua:getAddressList|getAddressList]]
 
 
 
=== Related Classes ===
 
* [[Lua:Class:MemoryRecord|MemoryRecord]]
 

Revision as of 16:08, 16 March 2019

Sorry! Content not available.