Update API docs: remove EntropiaNexus references, use generic Item Database API

This commit is contained in:
Aether 2026-02-23 19:47:58 +00:00
parent c017f2fb2e
commit c08b30e52d
No known key found for this signature in database
GPG Key ID: 95AFEE837E39AFD2
1 changed files with 16 additions and 16 deletions

View File

@ -52,17 +52,17 @@ const loot = await api.readLogFiltered('Loot:');
### Window Manager
```typescript
// Get EU window info
const window = await api.getEUWindow();
// Get game window info
const window = await api.getGameWindow();
// Check focus
const focused = await api.isEUFocused();
const focused = await api.isGameFocused();
// Bring to front
await api.bringEUToFront();
await api.bringGameToFront();
// Capture screenshot
const screenshot = await api.captureEUWindow();
const screenshot = await api.captureGameWindow();
```
**WindowInfo:**
@ -97,13 +97,13 @@ const text = await api.recognizeText({
---
### Nexus API
### Item Database API
```typescript
// Search items
const results = await api.searchNexus({
query: 'omegaton',
entityType: 'weapons',
const results = await api.searchItems({
query: 'weapon',
category: 'equipment',
limit: 10
});
@ -113,7 +113,7 @@ const details = await api.getItemDetails('12345');
**SearchResult:**
```typescript
interface NexusItem {
interface Item {
id: string;
name: string;
type: string;
@ -260,17 +260,17 @@ interface PluginAPI {
readLogFiltered(pattern: string): Promise<string[]>;
// Window
getEUWindow(): Promise<WindowInfo | null>;
isEUFocused(): Promise<boolean>;
bringEUToFront(): Promise<void>;
captureEUWindow(): Promise<string>; // base64
getGameWindow(): Promise<WindowInfo | null>;
isGameFocused(): Promise<boolean>;
bringGameToFront(): Promise<void>;
captureGameWindow(): Promise<string>; // base64
// OCR
ocrAvailable(): Promise<boolean>;
recognizeText(region: Region): Promise<string>;
// Nexus
searchNexus(params: SearchParams): Promise<NexusItem[]>;
// Item Database
searchItems(params: SearchParams): Promise<Item[]>;
getItemDetails(itemId: string): Promise<any>;
// HTTP