feat: 优化代码

This commit is contained in:
2026-04-15 16:42:48 +08:00
parent 61ce331a00
commit 0118bf613c
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -31,4 +31,4 @@ SETTINGS_TIP_LOADED,Tip: Finish Loading,提示:完成加载
SETTINGS_TIP_NOLOCALSOURCE,Tip: No local data or no selection,提示:无本地数据或未选择,无法加载 SETTINGS_TIP_NOLOCALSOURCE,Tip: No local data or no selection,提示:无本地数据或未选择,无法加载
GAMEUI_URNULL,Room Running: You are XXX XXXX,啊啊啊啊啊:啊啊啊啊 GAMEUI_URNULL,Room Running: You are XXX XXXX,啊啊啊啊啊:啊啊啊啊
GAMEUI_URHOST,Room Running: You are the Host,房间运行中:您是房主 GAMEUI_URHOST,Room Running: You are the Host,房间运行中:您是房主
GAMEUI_URGUEST,Room Running: You are a Guest,房间运行中:您是房客 GAMEUI_URGUEST,Room Running: You are a Guest,房间运行中:您是房客
1 keys en zh-cn
31 SETTINGS_TIP_NOLOCALSOURCE Tip: No local data or no selection 提示:无本地数据或未选择,无法加载
32 GAMEUI_URNULL Room Running: You are XXX XXXX 啊啊啊啊啊:啊啊啊啊
33 GAMEUI_URHOST Room Running: You are the Host 房间运行中:您是房主
34 GAMEUI_URGUEST Room Running: You are a Guest 房间运行中:您是房客
+6 -6
View File
@@ -130,18 +130,18 @@ theme_override_font_sizes/font_size = 30
text = "SETTINGS_SAVESETTINGS" text = "SETTINGS_SAVESETTINGS"
[node name="DownloadButton" type="Button" parent="." unique_id=315804661] [node name="DownloadButton" type="Button" parent="." unique_id=315804661]
offset_left = 595.0 offset_left = 554.0
offset_top = 1299.0 offset_top = 1309.0
offset_right = 923.0 offset_right = 761.0
offset_bottom = 1388.0 offset_bottom = 1398.0
theme_override_fonts/font = ExtResource("2_6wm04") theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30 theme_override_font_sizes/font_size = 30
text = "SETTINGS_DOWNLOAD" text = "SETTINGS_DOWNLOAD"
[node name="CancelButton" type="Button" parent="." unique_id=135993345] [node name="CancelButton" type="Button" parent="." unique_id=135993345]
offset_left = 371.0 offset_left = 347.0
offset_top = 1305.0 offset_top = 1305.0
offset_right = 550.0 offset_right = 581.0
offset_bottom = 1394.0 offset_bottom = 1394.0
theme_override_fonts/font = ExtResource("2_6wm04") theme_override_fonts/font = ExtResource("2_6wm04")
theme_override_font_sizes/font_size = 30 theme_override_font_sizes/font_size = 30
+1 -1
View File
@@ -1,6 +1,6 @@
extends Node extends Node
const PORT: int = 8989 var PORT: int = 8989
const MAX_HAND_SIZE: int = 8 const MAX_HAND_SIZE: int = 8
const INITIAL_HP: int = 4 const INITIAL_HP: int = 4
const DEFAULT_DRAW_COUNT: int = 4 const DEFAULT_DRAW_COUNT: int = 4