FreeKill/lua/lsp/freekill.lua

46 lines
890 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
---@alias null nil
---@alias bool boolean | nil
---@class fk
2022-03-30 08:33:56 +00:00
---FreeKill's lua API
fk = {}
2022-03-30 08:33:56 +00:00
---@class MarkEnum
---Special marks
MarkEnum = {}
---@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
function fk.qCritical(msg) end
function fk.qInfo(msg) end
function fk.qDebug(msg) end
function fk.qWarning(msg) end