Lua:getPropertyList

From Cheat Engine
Jump to navigation Jump to search

getPropertyList(class) : Returns a stringlist object containing all the published properties of the specified class (free the list when done) (Note, not all classed with properties have 'published' properties. E.g: stringlist)

Example 1:

r = getPropertyList(getInternet())

for i=0, r.Count-1, 1 do
  print( r[i] )
end

Example 2:

propertyList = getPropertyList(class)

print(propertyList.Text)

propertyList.destroy()
propertyList = nil