FreeKill/lua/lsp/freekill.lua
notify 9ac89caa1f Random AI (#54)
* android: dont copy RSA key and test.lua(generated by fkp)

* remove debug code

* ai think

* fixbug: 100% cpu per thread

* init ai

* fix bug, next step is to remove all feasible

* remame vscode -> lsp

* add some lsp comment

* rewrite feasible

* Random AI

* fixbug: chooseplayer

* liuli

* move checkNoHuman to waitForAiReply

* prototype for cardLimitation skill

* add Exppattern:Parse to static.lua

* remove unnecessary static
2023-02-26 15:01:14 +08:00

32 lines
627 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
---@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