FG Spreadshirt Swag
  1. #1

    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
    Check out my Extensions for Savage Worlds:
    Arcane Devices:Forge and github
    Mass Battles: Forge and github
    Fast Tests: Forge and github
    Reload Consumption: Forge
    Chase&Combat Compilation: Forge

  2. #2
    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

  3. #3
    Thank you very much.

    > Currently, only string paths are supported as a single parameter

    Ahh, thats good to know.
    Check out my Extensions for Savage Worlds:
    Arcane Devices:Forge and github
    Mass Battles: Forge and github
    Fast Tests: Forge and github
    Reload Consumption: Forge
    Chase&Combat Compilation: Forge

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in