2022-03-30 08:33:56 +00:00
|
|
|
---@meta
|
|
|
|
|
|
|
|
-- Note: these files are not used by FreeKill.
|
|
|
|
-- Just for convenience when using sumneko.lua
|
|
|
|
|
2022-03-31 05:29:23 +00:00
|
|
|
---@class fk
|
2022-03-30 08:33:56 +00:00
|
|
|
---FreeKill's lua API
|
2022-03-31 05:29:23 +00:00
|
|
|
fk = {}
|
2022-03-30 08:33:56 +00:00
|
|
|
|
2022-03-31 05:29:23 +00:00
|
|
|
---@class fk.SPlayerList
|
2022-03-30 08:33:56 +00:00
|
|
|
SPlayerList = {}
|
|
|
|
|
|
|
|
--- * get microsecond from Epoch
|
2022-04-01 12:51:01 +00:00
|
|
|
---@return integer microsecond
|
2022-03-31 05:29:23 +00:00
|
|
|
function fk:GetMicroSecond()end
|
2022-03-30 08:33:56 +00:00
|
|
|
|
|
|
|
--- construct a QList<ServerPlayer *>.
|
2022-03-31 05:29:23 +00:00
|
|
|
---@return fk.SPlayerList
|
|
|
|
function fk:SPlayerList()end
|
2022-03-30 08:33:56 +00:00
|
|
|
|
2022-03-31 05:29:23 +00:00
|
|
|
function fk.QmlBackend_pwd()end
|
2023-02-26 07:01:14 +00:00
|
|
|
|
|
|
|
---@return string[]
|
2022-03-31 05:29:23 +00:00
|
|
|
function fk.QmlBackend_ls(filename)end
|
|
|
|
function fk.QmlBackend_cd(dir)end
|
2023-02-26 07:01:14 +00:00
|
|
|
|
|
|
|
---@return boolean
|
2022-03-31 05:29:23 +00:00
|
|
|
function fk.QmlBackend_exists(file)end
|
2023-02-26 07:01:14 +00:00
|
|
|
|
|
|
|
---@return boolean
|
2022-03-31 05:29:23 +00:00
|
|
|
function fk.QmlBackend_isDir(file)end
|