FreeKill/lua/vscode/freekill.lua
Notify-ctrl 4e25c032e6
Skill (#9)
* TriggerSkill

* update type comment

* events of phases

* lua annotation

* change style of enums

* clear lua stack

* multi lua_State at server side

* disable addPlayer when room is full or started

* logic:trigger

Co-authored-by: Notify-ctrl <notify-ctrl@qq.com>
2022-04-01 20:51:01 +08:00

26 lines
566 B
Lua

---@meta
-- Note: these files are not used by FreeKill.
-- Just for convenience when using sumneko.lua
---@class fk
---FreeKill's lua API
fk = {}
---@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
function fk.QmlBackend_ls(filename)end
function fk.QmlBackend_cd(dir)end
function fk.QmlBackend_exists(file)end
function fk.QmlBackend_isDir(file)end