Lua:Class:Stringlist

From Cheat Engine
Jump to navigation Jump to search

Stringlist Class: (Inheritance : Strings->Object) createStringlist() : Creates a stringlist class object (for whatever reason, lua strings are probably easier to use)

properties

   Duplicates : DuplicatesType - Determines how duplicates should be handled
   Sorted : boolean - Determines if the list should be sorted
   CaseSensitive: boolean - Determines if the list is case sensitive or not.

methods

   getDuplicates() : returns the duplicates property
   setDuplicates(Duplicates) : Sets the duplicates property (dupIgnore, dupAccept, dupError)
   getSorted() : returns true if the list has the sorted property
   setSorted(boolean) : Sets the sorted property
   getCaseSensitive() : Returns true if the case sensitive property is set
   setCaseSensitive(boolean): Sets the case sensitive property


See also