fixed wrong require and annotations
This commit is contained in:
parent
f9cb455b6f
commit
d3b56a4083
@ -47,8 +47,6 @@ do
|
||||
--- investigatorCode String. ID of the investigator in this deck
|
||||
--- customizations table The decoded table of customization upgrades in this deck
|
||||
--- playerColor String. Color this deck is being loaded for
|
||||
---@return boolean
|
||||
---@return string
|
||||
ArkhamDb.getDecklist = function(
|
||||
playerColor,
|
||||
deckId,
|
||||
|
@ -26,7 +26,7 @@ do
|
||||
---@param owner? tts__Object Object that owns the XML (or nil if Global)
|
||||
---@return boolean visible Returns the new state of the visibility
|
||||
function GlobalApi.changeWindowVisibility(playerColor, windowId, overrideState, owner)
|
||||
Global.call("changeWindowVisibilityForColorWrapper", {
|
||||
return Global.call("changeWindowVisibilityForColorWrapper", {
|
||||
color = playerColor,
|
||||
windowId = windowId,
|
||||
overrideState = overrideState,
|
||||
|
@ -14,7 +14,7 @@ do
|
||||
---@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", {
|
||||
return Global.call("callTable", {
|
||||
{ "TokenManager", "hasLocationData" },
|
||||
card
|
||||
})
|
||||
|
@ -51,7 +51,7 @@ As a nice reminder the XML button takes on the Frost color and icon with the tex
|
||||
> require...
|
||||
----------------------------------------------------------]]
|
||||
|
||||
local chaosBagApi = require("chaosBag/ChaosBagApi")
|
||||
local chaosBagApi = require("chaosbag/ChaosBagApi")
|
||||
|
||||
-- intentionally global
|
||||
hasXML = true
|
||||
|
Loading…
Reference in New Issue
Block a user