Difference between revisions of "Lua:createMemScan"
Jump to navigation
Jump to search
(Initial page creation.) |
m (Added related function template.) |
||
| Line 21: | Line 21: | ||
===Examples=== | ===Examples=== | ||
| − | < | + | <syntaxhighlight lang="lua" line> |
local scan = createMemScan() | local scan = createMemScan() | ||
scan.VariableType = vtDword | scan.VariableType = vtDword | ||
| Line 27: | Line 27: | ||
scan.firstScan() | scan.firstScan() | ||
scan.waitTillDone() | scan.waitTillDone() | ||
| − | </ | + | </syntaxhighlight> |
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
| + | |||
| + | {{Creation}} | ||
Latest revision as of 23:55, 26 June 2026
Creates a MemScan object for an independent memory scan.
Configure the scan properties or call firstScan/nextScan on the returned object. Use waitTillDone() before reading results.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| progressbar | ProgressBar or nil | Optional progress bar updated while scanning. |
Returns[edit]
MemScan — The newly created memory scanner.
Examples[edit]
1 local scan = createMemScan()
2 scan.VariableType = vtDword
3 scan.ScanValue = "100"
4 scan.firstScan()
5 scan.waitTillDone()