fix(ui): preserve retail item titles and spacing

Carry PublicWeenieDesc material type into the live object model so examination titles use the DAT-authored material prefix. Preserve retail AddItemInfo empty appends and embedded armor separator, restoring the deliberate blank rows between appraisal sections.

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-24 05:21:01 +02:00
parent d78d09cfbc
commit 6718ee45a0
19 changed files with 341 additions and 46 deletions

View file

@ -158,7 +158,8 @@ public sealed class WorldSession : IDisposable
double? CooldownDuration = null,
PhysicsSpawnData? Physics = null,
uint? HookItemTypes = null,
uint? HookType = null);
uint? HookType = null,
uint? MaterialType = null);
/// <summary>
/// Projects the wire-level CreateObject result into the stable session
@ -223,7 +224,8 @@ public sealed class WorldSession : IDisposable
CooldownDuration: parsed.CooldownDuration,
Physics: parsed.Physics,
HookItemTypes: parsed.HookItemTypes,
HookType: parsed.HookType);
HookType: parsed.HookType,
MaterialType: parsed.MaterialType);
/// <summary>Fires when the session finishes parsing a CreateObject.</summary>
public event Action<EntitySpawn>? EntitySpawned;