25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
_G["通关邀请"]()
function GetCurrentFileName()
local info = debug.getinfo(2, "S")
local filePath = info.source
local fileName = string.match(filePath, "@(.+)$")
return fileName
end
local currentFileName = GetCurrentFileName()
print("当前文件名: " .. currentFileName)
|
<
<
<
<
<
<
<
<
<
<
<
|
25
26
27
28
29
30
31
|
Debug.AddCard(77542832,1,1,LOCATION_MZONE,3,POS_FACEUP)
--~ 加载残局函数库
Debug.AddCard(0,0,0,LOCATION_MZONE,-1,POS_FACEUP)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
_G["通关邀请"]()
|