Merging networking features #5

Merged
gskeough merged 27 commits from feature/godot-steam-integration into develop 2024-12-14 03:37:16 +00:00
Showing only changes of commit 00717ea2fe - Show all commits

View File

@ -67,6 +67,8 @@ func _on_lobby_joined(this_lobby_id: int, _permissions: int, _locked: bool, resp
lobby_id = this_lobby_id
get_lobby_members()
make_p2p_handshake()
else:
GameConsole.log_error("Failed to join lobby: " + str(this_lobby_id) + " with response: " + str(response))
func read_all_p2p_packets(read_count: int = 0) -> void:
@ -94,6 +96,7 @@ func create_lobby() -> void:
func join_lobby(this_lobby_id: int) -> void:
GameConsole.print_line("Joining lobby: " + str(this_lobby_id))
Steam.joinLobby(lobby_id)