PDA

View Full Version : Documentation Error in XML and Scripting Reference



Minty23185Fresh
March 19th, 2019, 17:06
There is an omission for the dragdata object in the XML and Scripting Reference (https://www.fantasygrounds.com/refdoc/).

The following code can be found in rulesets/CoreRPG/scripts/manager_actions.lua at approximately line 340:


function decodeRollFromDrag(draginfo, i, bFinal)
draginfo.setSlot(i);

local vRoll = draginfo.getMetaDataList();
vRoll.sType = draginfo.getSlotType();

The getMetaDataList( ) function is not documented in the Reference document.

(I can pretty much guess what it does based on getMetaData( ), getDieList( ), and getShortcutList( ), etc. But the information is missing.)

Thank you.

Bidmaron
March 24th, 2019, 18:49
MW, did you miss this?

Moon Wizard
March 25th, 2019, 21:49
Nope, didn't miss. Just queued. I'm pouring most of my time into FGU, so all lower priority items are getting queued. It's on my to do list when I circle back.

Regards,
JPG

Ampersandrew
April 1st, 2019, 12:51
I'm pouring most of my time into FGU

:)

Really, three characters? But all I wanted was a happy face.

Minty23185Fresh
April 22nd, 2019, 04:23
At this point this is probably moot, but I found another documentation omission for the dragdata object.
The addDie( ) function, as called in (approximately) line 443 of the CoreRPG ruleset's manager_actions.lua file.

Moon Wizard
April 28th, 2019, 06:54
It's on my list as well. This stuff is very low on priority right now, especially with the ongoing FGU work.

JPG

Minty23185Fresh
April 28th, 2019, 14:07
Thank you Moon Wizard, I realize that (low priority). And I'm fine with that.
I just keep plugging long (putting thorns in your side). :)

Moon Wizard
August 2nd, 2019, 22:37
Documentation updated.
https://www.fantasygrounds.com/forums/showthread.php?49447-Beta-Release-v3-3-8&p=447077&viewfull=1#post447077

Regards,
JPG