Refactor message bus and lobby networking flow
* 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
This commit is contained in:
@@ -56,12 +56,8 @@ func _on_match_list_entry_removed(match_id: String) -> void:
|
||||
match_entry.queue_free()
|
||||
|
||||
func _on_match_list_join_entry(match_id: String) -> void:
|
||||
Globals.lobby_data.match_list_join_entry(match_id)
|
||||
push_warning("Client Joining Match List Entry... ", match_id)
|
||||
|
||||
if Globals.lobby_data.match_pool.has(match_id): return
|
||||
|
||||
_on_match_list_entry_removed(match_id)
|
||||
Globals.lobby_data.match_list_join_entry(match_id)
|
||||
|
||||
func _create_match_entry(match_entry: Dictionary) -> void:
|
||||
var container = MATCH_ENTRY.instantiate()
|
||||
|
||||
Reference in New Issue
Block a user