| View previous topic :: View next topic |
| Author |
Message |
paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 206
|
Posted: Wed Nov 25, 2020 1:51 pm Post subject: REQ: getMemberList |
|
|
Similar to 'getPropertyList()', but returns list of methods. Optional: current object/component versus inherited; perhaps with some "level" indication (eg: incl 0~x parent(s), "all the way").
ps: this could also - indirectly - help out in the maintenance of the wiki guide... (just marketing here )
see also here:
[ https://www.cheatengine.org/forum/viewtopic.php?t=607557&sid=5d957ff410c83b238f08588073743710 ]
and
[ https://forum.cheatengine.org/viewtopic.php?p=5757504&sid=580acef6323d618f0da1df0fc309820c ]
(~getPropertyList)
btw: that componentlist already helped me out plenty, as one gets "live" info to compare with... (this is also how i found out about the tablename fyi ~ see my prev request )
a practical example: I have been looking for a way to find the function(s) behind components such as menuItem, Buttons (andwhatnot), as these are not mentioned in that aforementioned componentsList. my guess (hope, if you will) would be that the requested fn would/could possibly deliver...?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25832 Location: The netherlands
|
Posted: Wed Nov 25, 2020 2:08 pm Post subject: |
|
|
you can use getmetatable(object) to get additional code not shown by the propertylist
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 206
|
Posted: Thu Nov 26, 2020 1:21 pm Post subject: filter getmetatable()... |
|
|
^yep, I found that out from the 1st link. unfortunately (?) it dumps all methods of the component (incl inherited), producing a very long list of functions (see 2nd link, and imgur_link I posted near the bottom). And that is just for 1 component... (i'm talking 100+ methods here; just for 1 component)
my goal: build a list of all components with their non-inherited methods; and additionally methodLists for the more "generic/parent" objects.
If I can then complete that list by adding a 'object_path' per component, i should be able to (easily) find all methods related to a particular component...
I did some research on getmetatable() back then, but nothing really practical i could find/use. if one [b]can[/b] filter out/limit the list "component-specific", then just point me in the right direction and I'll see how far i get...
ps: I got the name from some forum (stackoverflow probably); part of the python library if i recall well. 'getMethodList()' seems logically more appropriate.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25832 Location: The netherlands
|
Posted: Thu Nov 26, 2020 3:32 pm Post subject: |
|
|
It's easier to just use celua.txt for that list.
Check the ClassName property and look it up in the documentation
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|