feat: 2.3.1

This commit is contained in:
2026-05-11 17:24:47 +08:00
parent 57e56412e0
commit 13f3c3d591
733 changed files with 17957 additions and 798 deletions
+114
View File
@@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://biio8efqysivs"]
[ext_resource type="Script" uid="uid://ic8fg0o0p0i4" path="res://scripts/ui/admin_panel.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://dp12345678" path="res://scenes/ui/date_picker.tscn" id="2_dp"]
[node name="AdminPanel" type="Panel"]
anchors_preset = 15
@@ -262,6 +263,119 @@ custom_minimum_size = Vector2(160, 36)
layout_mode = 2
text = "Save Config"
[node name="Announcements" type="VBoxContainer" parent="Margin/VBox/Tabs"]
visible = false
layout_mode = 2
theme_override_constants/separation = 12
metadata/_tab_index = 3
[node name="TargetHBox" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
layout_mode = 2
theme_override_constants/separation = 12
[node name="Label" type="Label" parent="Margin/VBox/Tabs/Announcements/TargetHBox"]
layout_mode = 2
text = "Target User ID:"
[node name="TargetUserEdit" type="LineEdit" parent="Margin/VBox/Tabs/Announcements/TargetHBox"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Leave empty to send to ALL users (Global)"
[node name="TitleEdit" type="LineEdit" parent="Margin/VBox/Tabs/Announcements"]
unique_name_in_owner = true
layout_mode = 2
placeholder_text = "Message Title"
[node name="ContentEdit" type="TextEdit" parent="Margin/VBox/Tabs/Announcements"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 150)
layout_mode = 2
placeholder_text = "Message Content"
[node name="ScheduleHBox" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
layout_mode = 2
theme_override_constants/separation = 12
[node name="LabelStart" type="Label" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox"]
layout_mode = 2
text = "Start:"
[node name="StartDatePicker" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox" instance=ExtResource("2_dp")]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="LabelEnd" type="Label" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox"]
layout_mode = 2
text = "End:"
[node name="EndDatePicker" parent="Margin/VBox/Tabs/Announcements/ScheduleHBox" instance=ExtResource("2_dp")]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="RewardsHeader" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
layout_mode = 2
[node name="Label" type="Label" parent="Margin/VBox/Tabs/Announcements/RewardsHeader"]
layout_mode = 2
size_flags_horizontal = 3
text = "Attached Rewards"
[node name="AddRewardBtn" type="Button" parent="Margin/VBox/Tabs/Announcements/RewardsHeader"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 30)
layout_mode = 2
text = "+ ADD"
[node name="RewardsList" type="VBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 8
[node name="RewardRowTemplate" type="HBoxContainer" parent="Margin/VBox/Tabs/Announcements"]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme_override_constants/separation = 8
[node name="TypeOption" type="OptionButton" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
item_count = 4
selected = 0
popup/item_0/text = "star"
popup/item_0/id = 0
popup/item_1/text = "gold"
popup/item_1/id = 1
popup/item_2/text = "item"
popup/item_2/id = 2
popup/item_3/text = "skin"
popup/item_3/id = 3
[node name="IdEdit" type="LineEdit" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Item/Skin ID (Leave empty for Star/Gold)"
[node name="AmountSpin" type="SpinBox" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
layout_mode = 2
max_value = 100000.0
value = 1.0
[node name="RemoveBtn" type="Button" parent="Margin/VBox/Tabs/Announcements/RewardRowTemplate"]
layout_mode = 2
text = "X"
theme_override_colors/font_color = Color(1, 0.3, 0.3, 1)
[node name="SendMailBtn" type="Button" parent="Margin/VBox/Tabs/Announcements"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "SEND ANNOUNCEMENT"
[node name="StatusLabel" type="Label" parent="Margin/VBox"]
unique_name_in_owner = true
layout_mode = 2