LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Class Structure - Iteration (https://www.lotrointerface.com/forums/showthread.php?t=1278)

goldbishop 12-02-2010 01:07 AM

Class Structure - Iteration
 
Anyone have or know where to get an algorithm that will discover classes/namespaces/enums within the Turbine LUA framework?

Digital_Utopia 12-02-2010 03:43 PM

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);

goldbishop 12-02-2010 04:44 PM

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.


All times are GMT -5. The time now is 07:02 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI