reworking

This commit is contained in:
ZioPao
2023-11-06 04:16:43 +01:00
parent d79dfcc509
commit 875e0fdceb
207 changed files with 113 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
local StaticData = require("TOC_StaticData.lua")
----------------
---@class ModDataHandler
local ModDataHandler = {}
-- TODO This class should handle all the stuff related to the mod data
---...
---@param playerObj IsoPlayer
function ModDataHandler.Setup(playerObj)
ModDataHandler.player = playerObj
end
--------------------
function ModDataHandler.GetModData()
return ModDataHandler.player:getModData()[StaticData.MOD_NAME]
end