diff --git a/src/core/token/TokenManagerApi.ttslua b/src/core/token/TokenManagerApi.ttslua index 37752580..abd1f424 100644 --- a/src/core/token/TokenManagerApi.ttslua +++ b/src/core/token/TokenManagerApi.ttslua @@ -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)