From 998a0bd408cce9cb20c60dacaed0be9d6c6cb0ae Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 16 Jun 2026 21:52:15 +0200 Subject: [PATCH] docs(D.5.1): clarify EnrichItem fires-on-found (review nit) --- src/AcDream.Core/Items/ItemRepository.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AcDream.Core/Items/ItemRepository.cs b/src/AcDream.Core/Items/ItemRepository.cs index d070a651..a993f336 100644 --- a/src/AcDream.Core/Items/ItemRepository.cs +++ b/src/AcDream.Core/Items/ItemRepository.cs @@ -141,7 +141,9 @@ public sealed class ItemRepository /// fuller data carried by its CreateObject (icon, name, type). Returns false if the /// item isn't tracked yet — phase 1 enriches existing items only; full /// CreateObject ingestion of newly-acquired items is the inventory phase. - /// Raises ItemPropertiesUpdated on success so bound widgets (the toolbar) re-render. + /// Raises ItemPropertiesUpdated whenever the item is found (matching the + /// UpdateProperties convention — it fires on found regardless of whether a field + /// actually changed) so bound widgets (the toolbar) re-render. /// public bool EnrichItem(uint objectId, uint iconId, string name, ItemType type) {