mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
9519d1b9a7
- 扣上限心碎 - 进服维护的各种跟后端稳定性有关的代码 - 断线重连/旁观时候计入技能次数 - ban人和banip,相应的也有解禁 - 开房设置现在可以滑动 - 完善网络错误报错 - 现在开始游戏之前需要等待和所有人准备 - 指示掉线之人和走小道之人 - 掉线和走小道的人不再被AI接管 - 延时锦囊牌素材从拓展包找 - 拓展包管理界面UI优化,下载失败的包可以在管理拓展包中删除
45 lines
922 B
QML
45 lines
922 B
QML
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import QtQuick
|
|
import Fk.Pages
|
|
|
|
GraphicsBox {
|
|
property string winner: ""
|
|
|
|
id: root
|
|
title.text: Backend.translate("$GameOver")
|
|
width: Math.max(140, body.width + 20)
|
|
height: body.height + title.height + 20
|
|
|
|
Column {
|
|
id: body
|
|
x: 10
|
|
y: title.height + 5
|
|
spacing: 10
|
|
|
|
Text {
|
|
text: winner !== "" ? Backend.translate("$Winner").arg(Backend.translate(winner)) : Backend.translate("$NoWinner")
|
|
color: "#E4D5A0"
|
|
}
|
|
|
|
MetroButton {
|
|
text: Backend.translate("Back To Room")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
onClicked: {
|
|
roomScene.resetToInit();
|
|
finished();
|
|
}
|
|
}
|
|
|
|
MetroButton {
|
|
text: Backend.translate("Back To Lobby")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
onClicked: {
|
|
ClientInstance.notifyServer("QuitRoom", "[]");
|
|
}
|
|
}
|
|
}
|
|
}
|