查看: 468|回復: 0

[閒聊閒語] S_SystemMessage

[複製鏈接]

71

主題

267

帖子

5707

金錢

火焰之影

Rank: 8Rank: 8

威望
247
精華
0
貢獻
0
鑽石
0
閱讀權限
50
積分
6468
在線時間
110 小時
相冊
0
日誌
0
好友
0
發表於 2026-2-10 18:23 | 顯示全部樓層 |閱讀模式
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]        private void handleAdventurerBook(L1PcInstance pc) {
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                // 獲取玩家當前頁面狀態(使用臨時變量存儲)
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                int currentPage = pc.getAdventurerBookPage();
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]               
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(72.0594 40.9161 30.798 / 0.08)]                // 調試訊息
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(72.0594 40.9161 30.798 / 0.08)]                pc.sendPackets(new S_SystemMessage("調試: 當前頁面 = " + currentPage));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(72.0594 40.9161 30.798 / 0.08)]               
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                switch (currentPage) {
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                        case 0: // 顯示伺服器設定頁面
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.sendPackets(new S_WhoHtml(pc, "y_who"));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.setAdventurerBookPage(1);
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(99.9988 0.0188053 -0.00110865 / 0.15)]


[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.sendPackets(new S_ServerMessage(149, "冒險者手冊", "詳細屬性"));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                break;
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                               
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                        case 3: // 顯示傳送點頁面
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(72.0594 40.9161 30.798 / 0.08)]                                pc.sendPackets(new S_SystemMessage("調試: 正在打開傳送點頁面..."));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.sendPackets(new S_WhoHtml(pc, "y_who3"));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(72.0594 40.9161 30.798 / 0.08)]                                pc.setAdventurerBookPage(0);
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(82.8053 -31.2882 27.1204 / 0.08)]                                pc.setAdventurerBookPage(0); // 回到第一頁,形成循環
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.sendPackets(new S_ServerMessage(149, "冒險者手冊", "傳送點列表"));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                break;
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                               
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(72.0594 40.9161 30.798 / 0.08)]                        default:
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)][backcolor=lab(82.8053 -31.2882 27.1204 / 0.08)]                        default: // 預設顯示第一頁
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.sendPackets(new S_WhoHtml(pc, "y_who"));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.setAdventurerBookPage(1);
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                pc.sendPackets(new S_ServerMessage(149, "冒險者手冊", "伺服器設定"));
[color=rgba(252, 249, 249, 0.698)][backcolor=rgba(14, 11, 11, 0.498)]                                break;





上一篇︰冒險者手冊
下一篇︰2/10 搖搖搖搖搖
您需要登錄後才可以回帖 登錄 | 註冊會員

本版積分規則

天堂私服列表

45客服

Archiver| 45天堂私服論壇   分享到微博! 分享到臉書! 分享到噗浪! 分享到維特! 分享到Google+! 分享到LINE!

45天堂私服發佈站 ©    天堂私服架設教學  提供最新天堂私服最新資訊

流量最高、品質最好、服務最優、玩家首選、最新天堂私服資訊,都在45天堂私服發佈站.    免責聲明

Sitetag
line客服聯繫
掃一掃二碼
Line客服聯繫
24H專人回覆
返回頂部 返回列表