added "hasLocationData"
This commit is contained in:
parent
df3ffa10ab
commit
f68e954440
@ -10,6 +10,16 @@ do
|
|||||||
})
|
})
|
||||||
end
|
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.
|
-- 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
|
---@param dataTable table Key/Value pairs following the DataHelper style
|
||||||
function TokenManagerApi.addPlayerCardData(dataTable)
|
function TokenManagerApi.addPlayerCardData(dataTable)
|
||||||
|
Loading…
Reference in New Issue
Block a user