mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-06 13:40:21 +00:00
bringing over zip line work from aux repo
This commit is contained in:
parent
b4d87bac54
commit
d46381d5c8
4 changed files with 114 additions and 1 deletions
|
|
@ -286,6 +286,19 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
|||
case msg @ AvatarJumpMessage(state) =>
|
||||
//log.info("AvatarJump: " + msg)
|
||||
|
||||
case msg @ ZipLineMessage(player_guid,origin_side,action,id,x,y,z) =>
|
||||
log.info("ZipLineMessage: " + msg)
|
||||
if(action == 0) {
|
||||
//doing this lets you use the zip line, but you can't get off
|
||||
//sendResponse(PacketCoding.CreateGamePacket(0,ZipLineMessage(player_guid, origin_side, action, id, x,y,z)))
|
||||
}
|
||||
else if(action == 1) {
|
||||
//disembark from zipline at destination?
|
||||
}
|
||||
else if(action == 2) {
|
||||
//get off by force
|
||||
}
|
||||
|
||||
case msg @ RequestDestroyMessage(object_guid) =>
|
||||
log.info("RequestDestroy: " + msg)
|
||||
// TODO: Make sure this is the correct response in all cases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue