-
September 17th, 2020, 13:27 #1
- Join Date
- Jul 2018
- Posts
- 92
Error in the lua Api Documentation
The DB.deleteChildren() function in the lua api is not correctly documented.
Both in the old API reference https://www.fantasygrounds.com/refdo...deleteChildren and the Unity API reference https://fantasygroundsunity.atlassia...ges/4063529/DB
the function DB.deleteChildren is supposed to take 1 parameter. When you try to call it like that, you get an error on the console, claiming that a necessary 2nd parameter is missing.
Cheers,
Chillhelm
-
September 17th, 2020, 17:24 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,554
The second API reference should be the one used going forward. I've updated that one; and I'm also going to patch the clients to support a single databasenode parameter in future builds. Currently, only string paths are supported as a single parameter.
Regards,
JPG
-
September 17th, 2020, 18:49 #3
- Join Date
- Jul 2018
- Posts
- 92
Thank you very much.
> Currently, only string paths are supported as a single parameter
Ahh, thats good to know.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks