package emu.nebula.server.handlers;

import emu.nebula.net.NetHandler;
import emu.nebula.net.NetMsgId;
import emu.nebula.proto.PlayerHeadInfo.PlayerHeadIconInfoResp;
import emu.nebula.net.HandlerId;
import emu.nebula.net.GameSession;

@HandlerId(NetMsgId.player_head_icon_info_req)
public class HandlerPlayerHeadIconInfoReq extends NetHandler {

    @Override
    public byte[] handle(GameSession session, byte[] message) throws Exception {
        var rsp = PlayerHeadIconInfoResp.newInstance();
                
        return this.encodeMsg(NetMsgId.player_head_icon_info_succeed_ack, rsp);
    }

}
