Lua:createFoundList

From Cheat Engine
Revision as of 19:28, 23 June 2026 by Leunsel (talk | contribs) (Initial page creation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<> Reference

function createFoundList(memscan) : FoundList

Creates a FoundList for a MemScan object.

Call initialize() after the scan has finished to open its result file for reading.

Function Parameters

Parameter Type Description
memscan MemScan Completed memory scan whose result file the FoundList will read.

Returns

FoundList — The created result-list reader.

Examples

local scan = createMemScan()
-- Configure and complete the scan first.
local found = createFoundList(scan)
found.initialize()
print(found.Count)

See Also

Main Pages