Lua:getPropertyList

From Cheat Engine
Revision as of 09:09, 5 October 2022 by LeFiXER (talk | contribs) (Added alternative example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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