mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 15:34:42 +00:00
Un-nest BroadcastWarpgateUpdateMessage test (#49)
This commit is contained in:
parent
c50f78948a
commit
a9d595eb5f
1 changed files with 17 additions and 17 deletions
|
|
@ -639,6 +639,14 @@ class GamePacketTest extends Specification {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"encode" in {
|
||||||
|
val msg = ContinentalLockUpdateMessage(PlanetSideGUID(22), PlanetSideEmpire.NC)
|
||||||
|
val pkt = PacketCoding.EncodePacket(msg).require.toByteVector
|
||||||
|
|
||||||
|
pkt mustEqual string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
"BroadcastWarpgateUpdateMessage" should {
|
"BroadcastWarpgateUpdateMessage" should {
|
||||||
val string = hex"D9 0D 00 01 00 20"
|
val string = hex"D9 0D 00 01 00 20"
|
||||||
|
|
||||||
|
|
@ -661,14 +669,6 @@ class GamePacketTest extends Specification {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"encode" in {
|
|
||||||
val msg = ContinentalLockUpdateMessage(PlanetSideGUID(22), PlanetSideEmpire.NC)
|
|
||||||
val pkt = PacketCoding.EncodePacket(msg).require.toByteVector
|
|
||||||
|
|
||||||
pkt mustEqual string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
"WeaponFireMessage" should {
|
"WeaponFireMessage" should {
|
||||||
val string = hex"34 44130029272F0B5DFD4D4EC5C00009BEF78172003FC0"
|
val string = hex"34 44130029272F0B5DFD4D4EC5C00009BEF78172003FC0"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue