GameObject reference conversions

This commit is contained in:
Asgard 2023-01-22 17:57:55 -07:00
parent 9a32da7db8
commit 7baccdcdc9
3 changed files with 14 additions and 0 deletions

View file

@ -111,8 +111,12 @@ public sealed partial class ObjectTable : IServiceType
{
ObjectKind.Player => new PlayerCharacter(address),
ObjectKind.BattleNpc => new BattleNpc(address),
ObjectKind.EventNpc => new Npc(address),
ObjectKind.Retainer => new Npc(address),
ObjectKind.EventObj => new EventObj(address),
ObjectKind.Companion => new Npc(address),
ObjectKind.MountType => new Npc(address),
ObjectKind.Ornament => new Npc(address),
_ => new GameObject(address),
};
}