fix: harden recovery flow and clean diagnostics

This commit is contained in:
Alexander Sellite 2026-09-01 07:44:01 -04:00
parent 0158b0215f
commit ff78710303
64 changed files with 1163 additions and 418 deletions

View file

@ -20,12 +20,21 @@ func _initialize() -> void:
func _run() -> void:
assert(NetworkProtocol.PROTOCOL_VERSION == 12)
assert(
var protocol_version: int = NetworkProtocol.PROTOCOL_VERSION
var world_spawn_capability: String = (
NetworkWorldSpawnProtocol.CAPABILITY
== NetworkProtocol.WORLD_SPAWN_CAPABILITY
)
assert(NetworkWorldSpawnProtocol.SNAPSHOT_ENTITIES_PER_ENVELOPE <= 4)
var protocol_world_spawn_capability: String = (
NetworkProtocol.WORLD_SPAWN_CAPABILITY
)
var snapshot_entities_per_envelope: int = (
NetworkWorldSpawnProtocol.SNAPSHOT_ENTITIES_PER_ENVELOPE
)
assert(protocol_version == 12)
assert(
world_spawn_capability == protocol_world_spawn_capability
)
assert(snapshot_entities_per_envelope <= 4)
_validate_catalog_statuses()
await _validate_billboard_presentation()
_validate_envelopes()