mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-21 23:53:36 +00:00
changed last field to boolean
This commit is contained in:
parent
5564d98395
commit
b444b4b503
2 changed files with 4 additions and 4 deletions
|
|
@ -839,14 +839,14 @@ class GamePacketTest extends Specification {
|
|||
player_guid mustEqual PlanetSideGUID(35937)
|
||||
friend.length mustEqual 12
|
||||
friend mustEqual "KurtHectic-G"
|
||||
unk mustEqual 0
|
||||
unk mustEqual false
|
||||
case default =>
|
||||
ko
|
||||
}
|
||||
}
|
||||
|
||||
"encode" in {
|
||||
val msg = FriendsResponse(PlanetSideGUID(35937), "KurtHectic-G", 0)
|
||||
val msg = FriendsResponse(PlanetSideGUID(35937), "KurtHectic-G", false)
|
||||
val pkt = PacketCoding.EncodePacket(msg).require.toByteVector
|
||||
|
||||
pkt mustEqual string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue