更多操作
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
local p = {} | local p = {} | ||
function p.getPlayStatus( | function p.getPlayStatus(statusType) | ||
if (statusType == 'DEEP') then | |||
if ( | |||
return '深度' | return '深度' | ||
elseif (statusType == 'FINISH') then | |||
return '通关' | |||
elseif (statusType == 'ABANDON') then | |||
return '弃坑' | |||
else | |||
return '未定义'..statusType | |||
end | end | ||
end | end | ||
return p | return p |
2025年3月11日 (二) 12:32的版本
此模块的文档可以在模块:PlayStatus/doc创建
local p = {}
function p.getPlayStatus(statusType)
if (statusType == 'DEEP') then
return '深度'
elseif (statusType == 'FINISH') then
return '通关'
elseif (statusType == 'ABANDON') then
return '弃坑'
else
return '未定义'..statusType
end
end
return p