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
|
2023-08-10 19:30:59 +00:00
|
|
|
---@alias bool boolean | nil
|
2023-09-19 06:27:54 +00:00
|
|
|
---@alias int integer
|
2023-06-23 14:18:11 +00:00
|
|
|
|
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
|
|
|
|
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
|
2024-04-19 12:53:19 +00:00
|
|
|
|
|
|
|
fk.FK_VER = '0.0.0'
|