Another revamp to vehicle spawn process. Wrote tests.

This commit is contained in:
FateJH 2018-04-21 17:50:20 -04:00
parent 5d5c609a2f
commit 68422401e5
22 changed files with 1267 additions and 340 deletions

View file

@ -56,18 +56,4 @@ class ServerVehicleOverrideMsgTest extends Specification {
pkt mustEqual string2
}
"encode (3)" in {
val msg = ServerVehicleOverrideMsg.Lock(0, 12)
val pkt = PacketCoding.EncodePacket(msg).require.toByteVector
pkt mustEqual string1
}
"encode (4)" in {
val msg = ServerVehicleOverrideMsg.Auto(5)
val pkt = PacketCoding.EncodePacket(msg).require.toByteVector
pkt mustEqual string2
}
}