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.