POC for health panels in MP

This commit is contained in:
ZioPao
2023-11-13 03:04:12 +01:00
parent 30f343a7de
commit 980545a07e
9 changed files with 155 additions and 83 deletions

View File

@@ -23,7 +23,8 @@ CommandsData.server = {
},
Debug = {
PrintTocData = "PrintTocData" ---@alias printTocDataParams {username : string}
PrintTocData = "PrintTocData", ---@alias printTocDataParams {username : string}
PrintAllTocData = "PrintAllTocData"
}
}
@@ -34,4 +35,13 @@ function CommandsData.GetKey(username)
return StaticData.MOD_NAME .. "_" .. username
end
-- ---comment
-- ---@param key string
-- ---@return string
-- function CommandsData.GetUsernameFromKey(key)
-- local subSize = #StaticData.MOD_NAME + 1
-- local username = key:sub(subSize)
-- return username
-- end
return CommandsData