FreeKill/lua/lsp/freekill.lua

45 lines
861 B
Lua
Raw Normal View History

-- SPDX-License-Identifier: GPL-3.0-or-later
2022-03-30 16:33:56 +08:00
---@meta
-- Note: these files are not used by FreeKill.
-- Just for convenience when using sumneko.lua
---@alias null nil
---@class fk
2022-03-30 16:33:56 +08:00
---FreeKill's lua API
fk = {}
2022-03-30 16:33:56 +08:00
---@class MarkEnum
---Special marks
MarkEnum = {}
---@class fk.SPlayerList
2022-03-30 16:33:56 +08:00
SPlayerList = {}
--- * get microsecond from Epoch
---@return integer microsecond
function fk:GetMicroSecond()end
2022-03-30 16:33:56 +08:00
--- construct a QList<ServerPlayer *>.
---@return fk.SPlayerList
function fk:SPlayerList()end
2022-03-30 16:33:56 +08: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