FreeKill/lua/lsp/freekill.lua
Ho-spair a7e3ad0f19
Switch skill (#148)
- 实现转换技;
- 将特殊的标记名称注册在mark_enum.lua文件;
- 标记值在UI的显示支持解析数组;
- 将觉醒技的觉醒条件分离至canWake函数;
- 修复一系列bug;
- 在Room类新增从牌堆、弃牌堆中随机获取牌的方法。
2023-05-13 14:20:34 +08:00

38 lines
724 B
Lua

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