편지지로 게시판 불러오기
프리서버 오픈소스 리니지 편지지로 게시판 불러오기 소스
빨간색 부분 본인팩에 맞게 수정해서 쓰시면되요
} else if (itemId == 467016) { //위탁게시판
for (L1Object obj : L1World.getInstance().getObject()) {
if (obj instanceof L1BoardInstance) {
L1NpcInstance board = (L1NpcInstance)obj;
if (board.getNpcTemplate().get_npcId() == 45000178) {
pc.sendPackets(new S_Board2(board, 0));
break;
}
}
}
} else if (itemId == 467014) { // 서버정보게시판
for (L1Object obj : L1World.getInstance().getObject()) {
if (obj instanceof L1BoardInstance) {
L1NpcInstance board = (L1NpcInstance)obj;
if (board.getNpcTemplate().get_npcId() == 4500309) {
pc.sendPackets(new S_Board(board, 0));
break;
}
}
}
} else if (itemId == 467013) { // 자유게시판
for (L1Object obj : L1World.getInstance().getObject()) {
if (obj instanceof L1BoardInstance) {
L1NpcInstance board = (L1NpcInstance)obj;
if (board.getNpcTemplate().get_npcId() == 4500302) {
pc.sendPackets(new S_Board(board, 0));
break;
}
}
}
} else if (itemId == 467015) { /// 서버 특화 게시판
for (L1Object obj : L1World.getInstance().getObject()) {
if (obj instanceof L1BoardInstance) {
L1NpcInstance board = (L1NpcInstance)obj;
if (board.getNpcTemplate().get_npcId() == 4500310) {
pc.sendPackets(new S_Board(board, 0));
break;
}
}
}

찰떡01 님의 최근 댓글
ㄳ 2023 06.17 ㄱㅅ 2020 12.19 클라 공유 부탁드립니다. 2020 12.19 ㄱㅅ 2020 11.26 ㄱㅅ 2020 11.05