added "hasLocationData"

This commit is contained in:
Chr1Z93 2024-08-07 22:21:28 +02:00
parent df3ffa10ab
commit f68e954440

View File

@ -10,6 +10,16 @@ do
})
end
-- Checks to see if the given card has location data in the DataHelper
---@param card tts__Object Card to check for data
---@return boolean: True if this card has data in the helper, false otherwise
function TokenManagerApi.hasLocationData(card)
Global.call("callTable", {
{ "TokenManager", "hasLocationData" },
card
})
end
-- Pushes new player card data into the local copy of the Data Helper player data.
---@param dataTable table Key/Value pairs following the DataHelper style
function TokenManagerApi.addPlayerCardData(dataTable)