feat : update backend

This commit is contained in:
2026-04-08 03:12:55 +08:00
parent 7e22f48c57
commit e222cc49ee
11 changed files with 619 additions and 935 deletions
+66 -3
View File
@@ -227,7 +227,7 @@ theme_override_colors/font_color = Color(0.57, 0.32090998, 0.1767, 1)
theme_override_fonts/font = ExtResource("3_e13i6")
text = "High Score: 0"
[node name="AccountSection" type="VBoxContainer" parent="MainLayout/LeftPanel/LeftVBox" unique_id=1730058560]
[node name="AccountSection" type="HBoxContainer" parent="MainLayout/LeftPanel/LeftVBox" unique_id=1267378790]
layout_mode = 2
theme_override_constants/separation = 8
@@ -242,8 +242,8 @@ text = "Link Email (Keep Progress)"
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.4, 0.4, 1)
theme_override_fonts/font = ExtResource("3_e13i6")
theme_override_colors/font_color = Color(1.0, 0.4, 0.4, 1.0)
text = "Server Admin Panel"
[node name="LogoutBtn" type="Button" parent="MainLayout/LeftPanel/LeftVBox/AccountSection" unique_id=1741557407]
@@ -271,7 +271,7 @@ unique_name_in_owner = true
own_world_3d = true
transparent_bg = true
handle_input_locally = false
size = Vector2i(746, 742)
size = Vector2i(746, 720)
render_target_update_mode = 4
[node name="WorldEnvironment" type="WorldEnvironment" parent="MainLayout/RightPanel/PreviewViewport" unique_id=1213356390]
@@ -328,3 +328,66 @@ offset_top = 4.0
offset_right = 316.0
offset_bottom = 216.0
columns = 3
[node name="AccountSettingsDialog" type="AcceptDialog" parent="." unique_id=987000001]
unique_name_in_owner = true
title = "Account Settings"
size = Vector2i(360, 480)
[node name="VBox" type="VBoxContainer" parent="AccountSettingsDialog" unique_id=987000002]
offset_left = 8.0
offset_top = 8.0
offset_right = 352.0
offset_bottom = 431.0
theme_override_constants/separation = 12
[node name="CredTitle" type="Label" parent="AccountSettingsDialog/VBox" unique_id=987000003]
layout_mode = 2
text = "Update Credentials"
[node name="OldPassInput" type="LineEdit" parent="AccountSettingsDialog/VBox" unique_id=987000004]
unique_name_in_owner = true
layout_mode = 2
placeholder_text = "Current Password"
secret = true
[node name="NewEmailInput" type="LineEdit" parent="AccountSettingsDialog/VBox" unique_id=987000005]
unique_name_in_owner = true
layout_mode = 2
placeholder_text = "New Email"
[node name="NewPassInput" type="LineEdit" parent="AccountSettingsDialog/VBox" unique_id=987000006]
unique_name_in_owner = true
layout_mode = 2
placeholder_text = "New Password"
secret = true
[node name="SubmitCredBtn" type="Button" parent="AccountSettingsDialog/VBox" unique_id=987000007]
unique_name_in_owner = true
layout_mode = 2
text = "Submit Credentials"
[node name="HSeparator1" type="HSeparator" parent="AccountSettingsDialog/VBox" unique_id=987000008]
layout_mode = 2
[node name="TzLabel" type="Label" parent="AccountSettingsDialog/VBox" unique_id=987000009]
layout_mode = 2
text = "Timezone"
[node name="TzDropdown" type="OptionButton" parent="AccountSettingsDialog/VBox" unique_id=987000010]
unique_name_in_owner = true
layout_mode = 2
[node name="SaveTzBtn" type="Button" parent="AccountSettingsDialog/VBox" unique_id=987000011]
unique_name_in_owner = true
layout_mode = 2
text = "Save Timezone"
[node name="HSeparator2" type="HSeparator" parent="AccountSettingsDialog/VBox" unique_id=987000012]
layout_mode = 2
[node name="ResetStatsBtn" type="Button" parent="AccountSettingsDialog/VBox" unique_id=987000013]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/font_color = Color(1, 0, 0, 1)
text = "RESET ALL GAME STATS"