Lua:Class:Stringlist

From Cheat Engine
(Redirected from Lua:Class:StringList)
Jump to navigation Jump to search

StringList class: (Inheritance: Strings->Object)

The Stringlist class represents a list of strings with optional sorting, duplicate handling, and case sensitivity. You can create a Stringlist object using createStringlist().

Properties[edit]

Property Type Description
Sorted Boolean Determines if the list should be sorted.
Duplicates DuplicatesType Determines how duplicates are handled when the list is sorted (see enum below).
CaseSensitive Boolean Determines if the list is case sensitive.

Methods[edit]

Method Parameters Returns Description
getDuplicates None DuplicatesType Returns the duplicates property.
setDuplicates DuplicatesType None Sets the duplicates property (dupIgnore, dupAccept, dupError).
getSorted None Boolean Returns true if the list is sorted.
setSorted Boolean None Sets the sorted property.
getCaseSensitive None Boolean Returns true if the list is case sensitive.
setCaseSensitive Boolean None Sets the case sensitive property.

DuplicatesType Enum[edit]

Name Value Description
dupIgnore 0 Ignore duplicate entries.
dupAccept 1 Accept duplicate entries.
dupError 2 Raise an error on duplicate entries.

See also[edit]

Related Classes[edit]