Packet: EmoteMsg

Still need an Enum for emote messages.

* Add EmoteMsg packet

* Add EmoteMsg test

* Add EmoteMsg handler stub
This commit is contained in:
tfarley 2016-07-23 18:10:40 -07:00 committed by pschord
parent 4c4f1341be
commit 3e980bbe15
4 changed files with 47 additions and 1 deletions

View file

@ -163,6 +163,10 @@ class WorldSessionActor extends Actor with MDCContextAware {
case msg @ ChangeFireStateMessage_Stop(item_guid) =>
log.info("ChangeFireState_Stop: " + msg)
case msg @ EmoteMsg(avatar_guid, emote_id) =>
log.info("Emote: " + msg)
sendResponse(PacketCoding.CreateGamePacket(0, EmoteMsg(avatar_guid, emote_id)))
case default => log.debug(s"Unhandled GamePacket ${pkt}")
}