三界除魔界面添加

dev_chengFeng
JieLing 2020-09-27 16:38:44 +08:00
parent 6a764f569e
commit c6391090f2
2 changed files with 11 additions and 0 deletions

View File

@ -1134,6 +1134,15 @@ function TimeToDHMS(second)
return string.format(Language[10548],day, hour, minute, sec)
end
--- 将一段时间转换为天时分
function TimeToDHM(second)
local day = math.floor(second / (24 * 3600))
local minute = math.floor(second / 60) % 60
local sec = second % 60
local hour = math.floor(math.floor(second - day * 24 * 3600 - sec - minute * 60) / 3600)
return string.format("%d天%02d时%02d分",day, hour, minute)
end
--- 将一段时间转换为天时
function TimeToDH(second)
local day = math.floor(second / (24 * 3600))

View File

@ -332,6 +332,8 @@ UIName = {
XuanYuanMirrorRewardSortPopup = 331,--轩辕宝镜奖励
GuildTranscriptMainPopup = 332,--公会副本
GuildTranscriptRewardSortPanel = 333,--公会副本奖励排行
GuideBattlePanel = 334, --引导战斗
DemonSlayer = 335,--三界除魔
}
SubUIConfig = {