finished packet; added presets for known Shortcut patterns; tests

This commit is contained in:
FateJH 2016-09-19 18:50:48 -04:00
parent 008cb4e919
commit f1efc8ecc4
3 changed files with 128 additions and 64 deletions

View file

@ -171,7 +171,7 @@ class WorldSessionActor extends Actor with MDCContextAware {
true))) //Boosted generator room pain field
sendResponse(PacketCoding.CreateGamePacket(0, SetCurrentAvatarMessage(PlanetSideGUID(guid),0,0)))
sendResponse(PacketCoding.CreateGamePacket(0, CreateShortcutMessage(PlanetSideGUID(guid), 1, 0, 6, Some(Shortcut.MEDKIT))))
sendResponse(PacketCoding.CreateGamePacket(0, CreateShortcutMessage(PlanetSideGUID(guid), 1, 0, true, Shortcut.MEDKIT)))
import scala.concurrent.duration._
import scala.concurrent.ExecutionContext.Implicits.global