* Add local message bus emission with optional argument expansion * Improve message type validation and callback dispatch * Simplify lobby match join/disconnect handling * Move lobby server networking toward an overridable `ServerNetworking` base class * Update lobby scene to use the dedicated lobby server script * Remove obsolete window configuration and unused RPC stubs
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://dkes5cdu45q6e"]
|
|
|
|
[ext_resource type="Script" uid="uid://dk7afnf7ol7dy" path="res://scenes/screens/lobby_screen/lobby.gd" id="1_hhiik"]
|
|
[ext_resource type="PackedScene" uid="uid://rb6av5eg4u0" path="res://scenes/ui_controls/lobby_screen/lobby_ui.tscn" id="2_lqt48"]
|
|
[ext_resource type="Script" uid="uid://6sfwe1hwgf0g" path="res://scenes/screens/lobby_screen/lobby_rpc.gd" id="3_rurl6"]
|
|
[ext_resource type="Script" uid="uid://crbm3v4td6du6" path="res://scenes/screens/lobby_screen/lobby_server.gd" id="4_glu7g"]
|
|
|
|
[node name="lobby_screen" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_hhiik")
|
|
|
|
[node name="ui" parent="." instance=ExtResource("2_lqt48")]
|
|
layout_mode = 1
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="rpc_signals" type="Node" parent="."]
|
|
script = ExtResource("3_rurl6")
|
|
|
|
[node name="server" type="Node" parent="."]
|
|
script = ExtResource("4_glu7g")
|
|
|
|
[connection signal="pressed" from="ui/body/left_body/server_host_hbox/host_start_bttn" to="." method="_on_host_start_bttn_pressed"]
|
|
[connection signal="pressed" from="ui/body/left_body/server_host_hbox/host_stop_bttn" to="." method="_on_host_stop_bttn_pressed"]
|
|
[connection signal="button_up" from="ui/body/left_body/search_vbox/search_hbox/match_search_bttn" to="." method="_on_match_search_bttn_button_up"]
|
|
|
|
[editable path="ui"]
|