feat(ui): port retail item appraisal reports
Follow ItemExamineUI's EoR dispatch and wording for item assessment instead of the generic projection. Resolve material and creature names through installed DAT maps, cover specialized item branches and item-XP curves, and narrow AP-110 to the remaining live/localized preview seams.
This commit is contained in:
parent
2c00d53db2
commit
d78d09cfbc
12 changed files with 1258 additions and 193 deletions
|
|
@ -966,6 +966,7 @@ public sealed class RetailUiRuntime : IDisposable
|
|||
ImportedLayout? layout;
|
||||
CreatureAppraisalRowTemplateFactory? creatureRows;
|
||||
CreatureDisplayNameResolver? creatureNames;
|
||||
RetailAppraisalNameResolver? itemNames;
|
||||
lock (_bindings.Assets.DatLock)
|
||||
{
|
||||
layout = LayoutImporter.Import(
|
||||
|
|
@ -982,6 +983,9 @@ public sealed class RetailUiRuntime : IDisposable
|
|||
_bindings.Assets.ResolveFont);
|
||||
creatureNames = CreatureDisplayNameResolver.Load(
|
||||
_bindings.Assets.Dats);
|
||||
itemNames = RetailAppraisalNameResolver.Load(
|
||||
_bindings.Assets.Dats,
|
||||
creatureNames);
|
||||
}
|
||||
if (layout is null)
|
||||
{
|
||||
|
|
@ -1003,7 +1007,8 @@ public sealed class RetailUiRuntime : IDisposable
|
|||
show: () => Host.ShowWindow(WindowNames.Examination),
|
||||
close: () => CloseWindow(WindowNames.Examination),
|
||||
creatureRowTemplates: creatureRows,
|
||||
creatureNames: creatureNames);
|
||||
creatureNames: creatureNames,
|
||||
itemNames: itemNames);
|
||||
if (controller is null)
|
||||
{
|
||||
Console.WriteLine(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue