mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-04-23 21:05:21 +00:00
changes to how MoveItemMessage is handled; AvatarService messages for MoveItem purposes; stop shooting and put away weapon when sitting down
This commit is contained in:
parent
dd4b586bef
commit
e61f1dbdfc
6 changed files with 155 additions and 68 deletions
|
|
@ -100,8 +100,8 @@ class EquipmentInHandTest extends ActorTest {
|
|||
ServiceManager.boot(system)
|
||||
val service = system.actorOf(Props[AvatarService], AvatarServiceTest.TestName)
|
||||
service ! Service.Join("test")
|
||||
service ! AvatarServiceMessage("test", AvatarAction.EquipmentInHand(PlanetSideGUID(10), 2, tool))
|
||||
expectMsg(AvatarServiceResponse("/test/Avatar", PlanetSideGUID(10), AvatarResponse.EquipmentInHand(2, tool)))
|
||||
service ! AvatarServiceMessage("test", AvatarAction.EquipmentInHand(PlanetSideGUID(10), PlanetSideGUID(11), 2, tool))
|
||||
expectMsg(AvatarServiceResponse("/test/Avatar", PlanetSideGUID(10), AvatarResponse.EquipmentInHand(PlanetSideGUID(11), 2, tool)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue