feat(ui): port retail radar and compass
This commit is contained in:
parent
c4af181b92
commit
3cbe4b00a1
43 changed files with 2882 additions and 262 deletions
|
|
@ -277,6 +277,28 @@ public sealed class ClientObjectTableTests
|
|||
Assert.Equal((uint)ItemType.Creature, item.TargetType);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Ingest_RadarMetadata_PatchesOnlyPresentWireFields()
|
||||
{
|
||||
var table = new ClientObjectTable();
|
||||
table.Ingest(FullWeenie(0x500000B8u) with
|
||||
{
|
||||
RadarBlipColor = 4,
|
||||
RadarBehavior = 3,
|
||||
});
|
||||
|
||||
table.Ingest(FullWeenie(0x500000B8u) with
|
||||
{
|
||||
RadarBlipColor = null,
|
||||
RadarBehavior = 4,
|
||||
});
|
||||
|
||||
var item = table.Get(0x500000B8u);
|
||||
Assert.NotNull(item);
|
||||
Assert.Equal((byte)4, item!.RadarBlipColor);
|
||||
Assert.Equal((byte)4, item.RadarBehavior);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RecordMembership_CreatesEntry_AndSetsEquip()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue