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