Packet: ObjectDetachMessage (#116)

* initial ObjectDetachMessage packet and tests

* discovered how to orient the dropped item
This commit is contained in:
Fate-JH 2017-03-10 21:37:02 -05:00 committed by pschord
parent aa82ae9676
commit f4fa24f344
5 changed files with 111 additions and 2 deletions

View file

@ -279,6 +279,8 @@ class WorldSessionActor extends Actor with MDCContextAware {
sendResponse(PacketCoding.CreateGamePacket(0, EmoteMsg(avatar_guid, emote)))
case msg @ DropItemMessage(item_guid) =>
//item dropped where you spawn in VS Sanctuary
sendResponse(PacketCoding.CreateGamePacket(0, ObjectDetachMessage(PlanetSideGUID(75), item_guid, app.pos, 0, 0, 0)))
log.info("DropItem: " + msg)
case msg @ ReloadMessage(item_guid, ammo_clip, unk1) =>