mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-12 08:30:32 +00:00
fixed OCDM for BR24+; updated AvatarConverter; moved Cosmetics into own file as a StreamBitSize; created and implemented truncated converter for character select screen; modified DetailedREKData based on potential field
This commit is contained in:
parent
47adfef5c8
commit
4ac93de065
8 changed files with 124 additions and 149 deletions
|
|
@ -146,7 +146,8 @@ class ObjectCreateDetailedMessageTest extends Specification {
|
|||
parent.get.guid mustEqual PlanetSideGUID(75)
|
||||
parent.get.slot mustEqual 1
|
||||
data.isDefined mustEqual true
|
||||
data.get.asInstanceOf[DetailedREKData].unk mustEqual 4
|
||||
data.get.asInstanceOf[DetailedREKData].unk1 mustEqual 4
|
||||
data.get.asInstanceOf[DetailedREKData].unk2 mustEqual 0
|
||||
case _ =>
|
||||
ko
|
||||
}
|
||||
|
|
@ -231,6 +232,7 @@ class ObjectCreateDetailedMessageTest extends Specification {
|
|||
char.firstTimeEvents(2) mustEqual "used_beamer"
|
||||
char.firstTimeEvents(3) mustEqual "map13"
|
||||
char.tutorials.size mustEqual 0
|
||||
char.cosmetics.isDefined mustEqual false
|
||||
char.inventory.isDefined mustEqual true
|
||||
val inventory = char.inventory.get.contents
|
||||
inventory.size mustEqual 10
|
||||
|
|
@ -428,6 +430,7 @@ class ObjectCreateDetailedMessageTest extends Specification {
|
|||
List(),
|
||||
"xpe_sanctuary_help" :: "xpe_th_firemodes" :: "used_beamer" :: "map13" :: Nil,
|
||||
List.empty,
|
||||
None,
|
||||
Some(InventoryData(inv)),
|
||||
DrawnSlot.Pistol1
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue