Quantcast Class Structure - Iteration - LoTROInterface
VGInterface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 12-02-2010, 01:07 AM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 24
Class Structure - Iteration

Anyone have or know where to get an algorithm that will discover classes/namespaces/enums within the Turbine LUA framework?
Reply With Quote
  #2  
Unread 12-02-2010, 03:43 PM
Digital_Utopia's Avatar
Digital_Utopia Digital_Utopia is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 207
Send a message via MSN to Digital_Utopia Send a message via Yahoo to Digital_Utopia
Everything is stored in tables, regarding classes/functions so getting a list is as simple as:

Code:
table.foreach(Turbine.UI,Turbine.Shell.WriteLine);
That will print all the classes in Turbine.UI.

Similarly, doing this will print all the functions in Turbine.UI.Button:

Code:
table.foreach(Turbine.UI.Button,Turbine.Shell.WriteLine);
__________________

Lord of the Rings Online
75 Fourohfour | 75 Artemedis | 60 Whiskeytango Foxtrot | 50 Mistah Boombastic | 56 Appetizer | 25 Aggromi
61 Onepointtwentyone Gigawatts


World of Warcraft
90 Downlo 85 Gravetaxi 85 Ümad 85 Artemedis 85 Guthuros
Reply With Quote
  #3  
Unread 12-02-2010, 04:44 PM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 24
Almost done with a Developer Plugin that will allow them to iterate the framework.

Having other issues which are taking precedence, like the Bag:ItemAdded event not firing properly during moves, actually not firing at all.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
issue with functions inside of a class SanDBoX Lua Programming Help (L) 18 10-08-2010 07:44 PM
Trait Panel Race/Class galenswerd Graphics modification help (L) 4 01-13-2009 12:32 PM


All times are GMT -5. The time now is 05:48 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui