978 B
978 B
1. Verify the MVP protobuf field contract
- 1.1 Verify
Assets/Scripts/Network/Defines/message.protodefines the MVP fields forMoveInput,ShootInput,PlayerState, andCombatEvent, and still exposesCombatEventType. - 1.2 Regenerate or verify
Assets/Scripts/Network/Defines/Message.csso the checked-in generated C# fields match the protobuf contract.
2. Add regression coverage for gameplay message fields
- 2.1 Add or extend edit-mode tests to prove
MoveInputandShootInputexpose the expected MVP movement and shooting fields through serialization or envelope parsing. - 2.2 Add or extend edit-mode tests to prove
PlayerState,CombatEvent, andCombatEventTypeexpose the expected authoritative-state and combat-result fields.
3. Validate the finalized message contract
- 3.1 Run
dotnet build Network.EditMode.Tests.csproj -v minimal. - 3.2 Run
dotnet test Network.EditMode.Tests.csproj --no-build -v minimal.