refactor: decouple game networking from lobby client
* Replace direct client/server networking references with GameClient/GameServer scenes * Refactor message bus to support local emission and argument expansion * Move lobby connection lifecycle handling to message bus events * Remove multiplayer connection wait helpers and direct lobby client coupling * Rename Server to ServerNetworking and update lobby client references * Update scene resources and export configuration
This commit is contained in:
@@ -2,18 +2,16 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://dbca7qndk7coq" path="res://billiards.gd" id="1_bhs8v"]
|
||||
[ext_resource type="PackedScene" uid="uid://dy51wny4x53f4" path="res://scenes/data_bridge/bridge.tscn" id="1_xa5nf"]
|
||||
[ext_resource type="Script" uid="uid://ci57tiuqsx1jp" path="res://scripts/client_networking.gd" id="3_hkpkv"]
|
||||
[ext_resource type="Script" uid="uid://bgnr36m8qvbx3" path="res://scripts/server_networking.gd" id="4_cni66"]
|
||||
[ext_resource type="PackedScene" uid="uid://cbvv2msu13vr2" path="res://game_client.tscn" id="3_hkpkv"]
|
||||
[ext_resource type="PackedScene" uid="uid://bss61m8hfvab3" path="res://game_server.tscn" id="4_cni66"]
|
||||
|
||||
[node name="billiards" type="Node"]
|
||||
script = ExtResource("1_bhs8v")
|
||||
|
||||
[node name="bridge" parent="." instance=ExtResource("1_xa5nf")]
|
||||
|
||||
[node name="client_net" type="Node" parent="."]
|
||||
script = ExtResource("3_hkpkv")
|
||||
[node name="game_client" parent="." instance=ExtResource("3_hkpkv")]
|
||||
|
||||
[node name="server_net" type="Node" parent="."]
|
||||
script = ExtResource("4_cni66")
|
||||
[node name="game_server" parent="." instance=ExtResource("4_cni66")]
|
||||
|
||||
[node name="scene" type="Node" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user