# XWUIGameLootHistory

A scrollable loot-acquisition log that lists the most recent `entries` (capped at `maxEntries`, default 50), each showing the item name colored by `rarity`, a quantity suffix when above 1, the drop `source`, and - when `showTimestamp` is on - its time string. Enabling `groupBySession` inserts source dividers between runs instead of per-row source labels. Prepend new drops with `addEntry(entry)` or replace the whole log via `updateData({ entries })`.

## Basic Usage

Shows a running list of looted items with rarity colors and timestamps.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A scrollable loot log of recent drops with rarity-colored names, sources, and timestamps.
```

## Grouped by Session

The same log grouped by drop source, with a divider per encounter instead of per-row source labels.

```example
file: examples/GroupedBySession.ts
title: Grouped by Session
description: groupBySession inserts source dividers so each run's drops read as one block.
```

## Live Drop Feed

A short log that grows as new drops are prepended with addEntry().

```example
file: examples/LiveDropFeed.ts
title: Live Drop Feed
description: addEntry() unshifts new loot to the top, the way a live kill feed scrolls.
```

```api
```
