@Override public void execute(CGOpenGodsoulPanel message) { if (message.getPlayer() == null) { return; } Human human = message.getPlayer().getHuman(); if (human == null) { return; } // 判断功能是否开放 if (!gameFuncService.gameFuncIsOpen(human, GameFuncType.GODSOUL, true)) { return; } // 获得装备位列表信息 List<EquipBitInfo> equipBitInfoList = human.getHumanGodsoulManager().generateEquipBitInfoList(); GCOpenGodsoulPanel gcMsg = new GCOpenGodsoulPanel(); gcMsg.setEquipBitInfos(equipBitInfoList.toArray(new EquipBitInfo[0])); List<GodsoulBuffInfo> buffInfoList = human.getHumanGodsoulManager().generateEquipBitBuffInfoList(); gcMsg.setGodsoulBuffInfos(buffInfoList.toArray(new GodsoulBuffInfo[0])); message.getPlayer().getHuman().sendMessage(gcMsg); // 新手引导 human.getHumanGuideManager().showGuide(GuideType.OPEN_GODSOUL_PANEL.getIndex()); }