DreamPoeBot 開發者中心

DPB1 與 DPB2 API 參考

技術文件、API 名稱及程式碼範例目前以英語提供。

查找 API、探索可執行的範例,或建立自己的擴充功能。內容涵蓋外掛、機器人、例程與移動器,從入門專案到具體實作。

DPB1 · 0.3.29.47DPB2 · 0.4.5.94審閱日期:2026-10-07

想找現成的機器人或外掛? 在首頁瀏覽機器人與外掛.

搜尋參考文件

查找型別、成員或操作

找到 2213 個型別
2,213 個現行型別 14,287 個成員 91,087 個具名值

涵蓋兩個已審閱產品。每項結果均標明所屬產品;名稱相同不代表行為相同。需要更多背景? 瀏覽指南與範例.

舊版 Abyss API 已從目前搜尋與成員清單中移除。既有連結仍可存取,並明確標示為相容性參考。支援說明區分開發中的修改與已發布功能。

DPB1Class · 遊戲狀態與操作

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.

DPB2Class · 遊戲狀態與操作

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.

DPB1Class · 遊戲狀態與操作

LokiPoe.ObjectManager

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.

DPB2Class · 遊戲狀態與操作

LokiPoe.ObjectManager

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.

DPB1Class · 機器人、外掛與任務

Coroutines

Asynchronous helpers for timing, interaction and common game actions. Await these helpers within the bot workflow.

DPB2Class · 機器人、外掛與任務

Coroutines

Asynchronous helpers for timing, interaction and common game actions. Await these helpers within the bot workflow.

DPB1Interface · 機器人、外掛與任務

ITask

Contract for a unit of asynchronous bot work. Implement Run and the inherited lifecycle and messaging members.

DPB2Interface · 機器人、外掛與任務

ITask

Contract for a unit of asynchronous bot work. Implement Run and the inherited lifecycle and messaging members.

DPB1Interface · 機器人、外掛與任務

IPlugin

Contract for an extension that participates in the bot lifecycle. The inherited contracts describe initialization, enablement and cleanup.

DPB2Interface · 機器人、外掛與任務

IPlugin

Contract for an extension that participates in the bot lifecycle. The inherited contracts describe initialization, enablement and cleanup.

DPB1Class · 世界、角色與物品

LocalPlayer

The player controlled by the current client. Obtain it through LokiPoe.Me after checking that the client is in game.

DPB2Class · 世界、角色與物品

LocalPlayer

The player controlled by the current client. Obtain it through LokiPoe.Me after checking that the client is in game.

DPB1Class · 世界、角色與物品

Item

Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.

DPB2Class · 世界、角色與物品

Item

Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.

DPB1Class · 導覽

ExilePather

Query routes and path distances in the current area. Route calculation and issuing movement commands are separate operations.

DPB2Class · 導覽

ExilePather

Query routes and path distances in the current area. Route calculation and issuing movement commands are separate operations.

DPB1Class · 介面與面板

LokiPoe.InGameState

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.

DPB2Class · 介面與面板

LokiPoe.InGameState

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.

DPB1Class · 世界、角色與物品

AbyssNodeLarge

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.
DPB2Class · 世界、角色與物品

AbyssNodeLarge

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).

本參考涵蓋已審閱 Release 原始碼快照中供開發者使用的宣告,包含透過基底型別連結存取的繼承 API。不同產品版本分別記錄,以保留差異。

實踐 API

指南與範例

選擇具體範例、研究擴充功能約定,或完成首個專案。這些是獨立的文件入口,使用 API 前不需完成整套課程。

指南對應 DPB1: .NET Framework 4.8 (net48). Switch product to keep code, downloads and links aligned. Return to the DPB1 API reference →

DPB 開發入門

你的第一個擴充功能

以五個步驟建立附近敵人提醒,包含環境設定、完整檢查點與預期結果。

開始引導專案 →
解決具體問題

實用範例

識別區域、查找物件、讀取背包並檢查技能欄。每個範例都連結至對應程式碼與 API。

瀏覽範例 →
理解介面約定

執行與生命週期

誰呼叫 Tick、非同步工作如何執行,以及哪個元件負責初始化與清理。

了解執行模型 →

選擇擴充功能類型

所有指南與原始碼專案

17 guides · 8 source projects per product

獨立 API 實驗

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.

Download DPB1 kit ↓