Fix annotation MapPosition -> MapVector

This commit is contained in:
Van
2026-05-23 21:20:05 +03:00
parent 3eb8b375ec
commit 9389b02cda
12 changed files with 29 additions and 50 deletions

View File

@@ -284,7 +284,7 @@ end
---@type table<string, string[]>
PlayerInventoryUI.ActiveNodeForms = {}
---@param nodePos MapPosition
---@param nodePos MapVector
function PlayerInventoryUI:addActiveNodeForm(nodePos, playerName)
local stringPos = core.pos_to_string(nodePos)
local playerNames = self.ActiveNodeForms[stringPos]
@@ -295,7 +295,7 @@ function PlayerInventoryUI:addActiveNodeForm(nodePos, playerName)
end
end
---@param nodePos MapPosition
---@param nodePos MapVector
function PlayerInventoryUI:updateNodeForm(nodePos)
local stringPos = core.pos_to_string(nodePos)
local playerNames = self.ActiveNodeForms[stringPos]
@@ -311,7 +311,7 @@ function PlayerInventoryUI:updateNodeForm(nodePos)
end
end
---@param nodePos MapPosition
---@param nodePos MapVector
function PlayerInventoryUI:removeActiveNodeForm(nodePos, playerName)
local stringPos = core.pos_to_string(nodePos)
local playerNames = self.ActiveNodeForms[stringPos]