Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Methods and attributes of a class

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Filipe_Br
Master Cheater
Reputation: 2

Joined: 07 Jan 2016
Posts: 250
Location: My house

PostPosted: Mon May 14, 2018 6:45 pm    Post subject: Methods and attributes of a class Reply with quote

How can I get a list with all the methods and attributes of a userdata class?
And how to get the Canvas object from a CEMemo?

_________________
...
Back to top
View user's profile Send private message
ParkourPenguin
Grandmaster Cheater Supreme
Reputation: 63

Joined: 06 Jul 2014
Posts: 1944
Location: Arcadian Suburbia

PostPosted: Mon May 14, 2018 9:51 pm    Post subject: Reply with quote

A TCEMemo object doesn't have a canvas.

Many members are documented in celua.txt.

The userdata's metatable can list more members:
Code:
for k,_ in pairs(getmetatable(obj)) do
  print(k)
end
Though this admittedly still won't get everything.

Sometimes it's better to look at CE's source and see what's published. For example, the TAddresslist class and its published members are declared here. Note that classes also inherit members of parent classes (e.g. TAddresslist inherits from TPanel). Most published members are accessible, but some aren't supported.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites