Difference between revisions of "Lua:Class:Stringlist"

From Cheat Engine
Jump to navigation Jump to search
Line 14: Line 14:
 
     getCaseSensitive() : Returns true if the case sensitive property is set
 
     getCaseSensitive() : Returns true if the case sensitive property is set
 
     setCaseSensitive(boolean): Sets the case sensitive property
 
     setCaseSensitive(boolean): Sets the case sensitive property
 +
 +
 +
{{LuaSeeAlso}}

Revision as of 21:56, 19 March 2017

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