Update validation for portable home protocol

This commit is contained in:
Alexander Sellite 2026-08-30 22:00:04 -04:00
parent fe099f47dd
commit 983e4d0ec3
3 changed files with 5 additions and 5 deletions

View file

@ -200,8 +200,8 @@ func _run() -> void:
var invalid_state: Dictionary = valid_state.duplicate(true)
invalid_state["display_scale"] = 1000.0
assert(not NetworkFishShowcaseProtocol.validate_state(invalid_state))
assert(NetworkProtocol.PROTOCOL_VERSION == 11)
assert(NetworkProtocol.ENET_CHANNEL_COUNT == 17)
assert(NetworkProtocol.PROTOCOL_VERSION == 12)
assert(NetworkProtocol.ENET_CHANNEL_COUNT == 18)
assert(
NetworkProtocol.FISH_QUALITY_CAPABILITY
== "fish_quality_v1"

View file

@ -26,8 +26,8 @@ func _run() -> void:
_validate_collection_mastery()
_validate_version_four_migration()
_validate_fishing_protocol_v2()
assert(NetworkProtocol.PROTOCOL_VERSION == 11)
assert(NetworkProtocol.ENET_CHANNEL_COUNT == 17)
assert(NetworkProtocol.PROTOCOL_VERSION == 12)
assert(NetworkProtocol.ENET_CHANNEL_COUNT == 18)
assert(NetworkProtocol.MOVEMENT_ANIMATION_CHANNEL == 11)
assert(
NetworkProtocol.MOVEMENT_RECONCILIATION_CAPABILITY

View file

@ -20,7 +20,7 @@ func _initialize() -> void:
func _run() -> void:
assert(NetworkProtocol.PROTOCOL_VERSION == 11)
assert(NetworkProtocol.PROTOCOL_VERSION == 12)
assert(
NetworkWorldSpawnProtocol.CAPABILITY
== NetworkProtocol.WORLD_SPAWN_CAPABILITY