Hello!
I'd like to retrieve from codes all the classes that are loaded. So if there's a module that contains new classes I'll be able to get them too.
I'm pretty sure it's very easy to do but I can't really understand how it can be done.
Printable View
Hello!
I'd like to retrieve from codes all the classes that are loaded. So if there's a module that contains new classes I'll be able to get them too.
I'm pretty sure it's very easy to do but I can't really understand how it can be done.
Read-only data (usually in commercial modules) is in the reference.*** database path. Some info on editable and read-only data here: https://www.fantasygrounds.com/wiki/...ta_File_Format
There is a function in the CoreRPG LibraryData script to retrieve all the registered node paths.
Regards,Code:local vMappings = LibraryData.getMappings("class");
for i = 1, #vMappings do
for _,nodeClass in pairs(DB.getChildrenGlobal(vMappings[i])) do
Debug.console("nodeClass:",nodeClass);
end
end
JPG
Yes, for 5E ruleset.
Regards,
JPG