LokiPoe
Start here to check the client state, access the local player and identify the current area. Read in-game data only after checking IsInGame.
技術文件、API 名稱及程式碼範例目前以英語提供。
查找 API、探索可執行的範例,或建立自己的擴充功能。內容涵蓋外掛、機器人、例程與移動器,從入門專案到具體實作。
想找現成的機器人或外掛? 在首頁瀏覽機器人與外掛.
涵蓋兩個已審閱產品。每項結果均標明所屬產品;名稱相同不代表行為相同。需要更多背景? 瀏覽指南與範例.
舊版 Abyss API 已從目前搜尋與成員清單中移除。既有連結仍可存取,並明確標示為相容性參考。支援說明區分開發中的修改與已發布功能。
Start here to check the client state, access the local player and identify the current area. Read in-game data only after checking IsInGame.
Start here to check the client state, access the local player and identify the current area. Read in-game data only after checking IsInGame.
Retrieve informations about all the game Objects, Npcs, Monsters, WorldItems, AreaTransitions, but also interactable objects like Blight Towers, Ultimatum monolith, harmfull effects, etc etc. Litterally all the dynamic objects placed in game by the server. Use this wisely, as even if the ObjectManager have a cache that is refreshed every 30ms, calling it that fast, is really cpu intensive, you should code your components in the most efficent way possible.
Retrieve informations about all the game Objects, Npcs, Monsters, WorldItems, AreaTransitions, but also interactable objects like Blight Towers, Ultimatum monolith, harmfull effects, etc etc. Litterally all the dynamic objects placed in game by the server. Use this wisely, as even if the ObjectManager have a cache that is refreshed every 30ms, calling it that fast, is really cpu intensive, you should code your components in the most efficent way possible.
Asynchronous helpers for timing, interaction and common game actions. Await these helpers within the bot workflow.
Asynchronous helpers for timing, interaction and common game actions. Await these helpers within the bot workflow.
Contract for a unit of asynchronous bot work. Implement Run and the inherited lifecycle and messaging members.
Contract for a unit of asynchronous bot work. Implement Run and the inherited lifecycle and messaging members.
Discover installed bots, inspect the selected bot and observe or control its lifecycle.
Discover installed bots, inspect the selected bot and observe or control its lifecycle.
Contract for an extension that participates in the bot lifecycle. The inherited contracts describe initialization, enablement and cleanup.
Contract for an extension that participates in the bot lifecycle. The inherited contracts describe initialization, enablement and cleanup.
Discover installed plugins and inspect the enabled extensions for the current session.
Discover installed plugins and inspect the enabled extensions for the current session.
The player controlled by the current client. Obtain it through LokiPoe.Me after checking that the client is in game.
The player controlled by the current client. Obtain it through LokiPoe.Me after checking that the client is in game.
Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.
Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.
Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.
Work with a specific inventory grid, including selecting and picking up items. Use the local item identifier from that grid.
Query routes and path distances in the current area. Route calculation and issuing movement commands are separate operations.
Query routes and path distances in the current area. Route calculation and issuing movement commands are separate operations.
This is one of the most important class of the Framework, its purpose, is to offer easy to use wrappers members and methods to retrieve informations and interact with the game intefraces.
This is one of the most important class of the Framework, its purpose, is to offer easy to use wrappers members and methods to retrieve informations and interact with the game intefraces.
The Abyss pinnacle device that displays and allows taking or returning its reward item.
The Abyss crafting device's item preview and take/return controls.
An Abyss node with a position and a blockage state. Read nodes recognized by your client; recognition of the reworked final node is still in development.
Reworked final-node recognition: implemented in development, not yet released.An Abyss node with a position and a blockage state, including reworked final nodes in public DPB2 0.4.5.91. Blockage state does not establish encounter success.
Reworked final-node recognition is released in DPB2 0.4.5.91 (introduced in 0.4.5.90).Provides abyss stash tab layout data and the operations listed below. Related types link to the values this API consumes or returns.
Provides abyss stash tab layout hardcoded data and the operations listed below. Related types link to the values this API consumes or returns.
本參考涵蓋已審閱 Release 原始碼快照中供開發者使用的宣告,包含透過基底型別連結存取的繼承 API。不同產品版本分別記錄,以保留差異。
選擇具體範例、研究擴充功能約定,或完成首個專案。這些是獨立的文件入口,使用 API 前不需完成整套課程。
指南對應 DPB1: .NET Framework 4.8 (net48). Switch product to keep code, downloads and links aligned. Return to the DPB1 API reference →
以五個步驟建立附近敵人提醒,包含環境設定、完整檢查點與預期結果。
開始引導專案 → 解決具體問題識別區域、查找物件、讀取背包並檢查技能欄。每個範例都連結至對應程式碼與 API。
瀏覽範例 → 理解介面約定誰呼叫 Tick、非同步工作如何執行,以及哪個元件負責初始化與清理。
了解執行模型 →Extend a bot with lifecycle callbacks, state observations and messages.
Guide & complete source →IBot · ITaskThree connected lessons: own the session, integrate tasks and plugins, then follow a visible party leader. You write the bot.
Build FollowBot step by step →IRoutineSelect eligible targets, inspect skill slots and handle an action request.
Guide & complete source →IPlayerMoverPlan routes, request movement and check actual progress.
Guide & complete source →Original, anonymous source for the standalone examples, with build and installation instructions. The FollowBot walkthrough uses selected fragments and implementation exercises; it is not a finished bot in this download. Compile baselines: DPB1 0.3.29.47 and DPB2 0.4.5.88; no live game validation claimed.