mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-06 05:30:21 +00:00
Packet: ObjectDeleteMessage
* Add ObjectDeleteMessage packet * Add ObjectDeleteMessage test * Add ObjectDeleteMessage handler stub
This commit is contained in:
parent
427429b34c
commit
dc6488edfc
4 changed files with 48 additions and 1 deletions
|
|
@ -179,6 +179,11 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
|||
|
||||
case msg @ RequestDestroyMessage(object_guid) =>
|
||||
log.info("RequestDestroy: " + msg)
|
||||
// TODO: Make sure this is the correct response in all cases
|
||||
sendResponse(PacketCoding.CreateGamePacket(0, ObjectDeleteMessage(object_guid, 0)))
|
||||
|
||||
case msg @ ObjectDeleteMessage(object_guid, unk1) =>
|
||||
log.info("ObjectDelete: " + msg)
|
||||
|
||||
case default => log.debug(s"Unhandled GamePacket ${pkt}")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue