parent
58d3b86212
commit
c8295ea4e7
|
@ -25,13 +25,7 @@ public class GetAllMailHandler extends BaseHandler {
|
|||
|
||||
@Override
|
||||
public void process(ISession iSession, PacketNetData netData) throws Exception {
|
||||
int userId = netData.getUserId();
|
||||
int token = netData.getToken();
|
||||
int msgId = netData.getMsgId();
|
||||
int msgIndex = netData.getIndex();
|
||||
LOGGER.info("processMessage->uid={},token={},msgId={},msgIndex={}",
|
||||
userId, token,msgId,msgIndex);
|
||||
List<CommonProto.Mail> allUserMail = MailLogic.getInstance().getAllUserMail(userId);
|
||||
List<CommonProto.Mail> allUserMail = MailLogic.getInstance().getAllUserMail(iSession.getUid());
|
||||
PlayerInfoProto.GetAllMailInfoResponse getPlayerInfoResponse = PlayerInfoProto.GetAllMailInfoResponse.newBuilder()
|
||||
.addAllMialList(allUserMail)
|
||||
.build();
|
||||
|
|
Loading…
Reference in New Issue