FreeKill/lua/lsp/freekill.lua

34 lines
673 B
Lua
Raw Permalink Normal View History

-- SPDX-License-Identifier: GPL-3.0-or-later
2022-03-30 08:33:56 +00:00
---@meta
-- Note: these files are not used by FreeKill.
-- Just for convenience when using sumneko.lua
---@class fk
2022-03-30 08:33:56 +00:00
---FreeKill's lua API
fk = {}
2022-03-30 08:33:56 +00:00
---@class fk.SPlayerList
2022-03-30 08:33:56 +00:00
SPlayerList = {}
--- * get microsecond from Epoch
---@return integer microsecond
function fk:GetMicroSecond()end
2022-03-30 08:33:56 +00:00
--- construct a QList<ServerPlayer *>.
---@return fk.SPlayerList
function fk:SPlayerList()end
2022-03-30 08:33:56 +00:00
function fk.QmlBackend_pwd()end
---@return string[]
function fk.QmlBackend_ls(filename)end
function fk.QmlBackend_cd(dir)end
---@return boolean
function fk.QmlBackend_exists(file)end
---@return boolean
function fk.QmlBackend_isDir(file)end