Add host-authoritative multiplayer fishing

This commit is contained in:
Alexander Sellite 2026-07-29 16:29:25 -04:00
parent b0e2e84ba4
commit d3e3bf4053
17 changed files with 1672 additions and 23 deletions

View file

@ -1,7 +1,7 @@
class_name NetworkProtocol
extends RefCounted
const PROTOCOL_VERSION: int = 1
const PROTOCOL_VERSION: int = 2
const GAME_BUILD: String = "prealpha"
const MAX_DISPLAY_NAME_LENGTH: int = 48
const MAX_PROFILE_ID_LENGTH: int = 96
@ -99,7 +99,10 @@ static func make_server_hello(
"server_display_name": "NETFISHING",
"player_count": player_count,
"max_players": max_players,
"capability_flags": PackedStringArray(["movement_v1"]),
"capability_flags": PackedStringArray([
"movement_v1",
"fishing_v1",
]),
}