mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Update to support game version 2.0.0.*
This commit is contained in:
1 parent
b302871630
commit
c585417b85
119 files changed
+73147
-9253
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package emu.nebula.server.handlers;
|
||||
|
||||
import emu.nebula.net.NetHandler;
|
||||
import emu.nebula.net.NetMsgId;
|
||||
import emu.nebula.proto.GuideMissionInfoOuterClass.GuideMissionInfo;
|
||||
import emu.nebula.net.HandlerId;
|
||||
import emu.nebula.net.GameSession;
|
||||
|
||||
@HandlerId(NetMsgId.guide_mission_info_req)
|
||||
public class HandlerGuideMissionInfoReq extends NetHandler {
|
||||
|
||||
@Override
|
||||
public byte[] handle(GameSession session, byte[] message) throws Exception {
|
||||
// Build response
|
||||
var rsp = GuideMissionInfo.newInstance();
|
||||
|
||||
// Encode and send
|
||||
return session.encodeMsg(NetMsgId.guide_mission_info_succeed_ack, rsp);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user