fix(multiplayer): reject fractional assignment values

This commit is contained in:
Josh Creek
2026-09-01 22:42:46 +01:00
parent e376e1e80d
commit 75f9026ea1
3 changed files with 17 additions and 1 deletions
+2
View File
@@ -1593,6 +1593,8 @@ Assignment projections and assignment-changed events now enforce the published o
The WebSocket contract and Go event hub now enforce opaque match and server IDs on assignment notifications, keeping server publication aligned with the Godot client validator.
Assignment projection now rejects fractional `slot` and `protocol_version` values instead of truncating them, matching the OpenAPI integer contract.
Signed MatchNet claims now also require exact JSON string/integer types for every identity, protocol, expiry, slot, team, and generation field; string-number coercion is rejected before canonical signature verification.
Presentation progress: a shared `Game/themes/cosmic_clash_theme.tres` now gives the menu, lobby, matchmaking, and settings surfaces consistent button, input, option, and label styling. The custom-font portion of `TODO.md` remains open until a distributable font asset is selected.