Skip to content

[Feature]: Event-driven item loading and queue stagger for direct loot toasts #166

@Xerrion

Description

@Xerrion

Problem / Motivation

Direct loot toasts lag up to 1 second because GetItemInfo polling retries every 0.2s up to 5 times for uncached items. When multiple toasts are queued they all appear at once when FlushQueue dumps them in a single frame.

Proposed Solution

Replace the polling retry loop (RetryWithTimer) in the direct loot path with an event-driven approach using GET_ITEM_INFO_RECEIVED. Add a configurable queueStagger (default 0.1s) to FlushQueue so queued toasts appear as a stream rather than a wall.

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

A-ListenersEvent listeners (loot, XP, honor, mail, currency, rep)A-ToastToast frames, animations, manager, displayC-FeatureNew feature or enhancementC-PerformanceSpeed, memory, or frame rateD-StraightforwardClear path, minimal riskP-All-VersionsAffects all supported versions

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions