2023-04-09 05:35:35 +00:00
|
|
|
-- 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
|
|
|
|
|
2023-06-23 14:18:11 +00:00
|
|
|
---@alias null nil
|
|
|
|
|
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
|
|
|
|
2023-05-13 06:20:34 +00:00
|
|
|
---@class MarkEnum
|
|
|
|
---Special marks
|
|
|
|
MarkEnum = {}
|
|
|
|
|
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
|
2023-06-23 14:18:11 +00:00
|
|
|
|
|
|
|
function fk.qCritical(msg) end
|
|
|
|
function fk.qInfo(msg) end
|
|
|
|
function fk.qDebug(msg) end
|
|
|
|
function fk.qWarning(msg) end
|