mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-23 08:59:17 +01:00
GameObject reference conversions
This commit is contained in:
parent
9a32da7db8
commit
7baccdcdc9
3 changed files with 14 additions and 0 deletions
|
|
@ -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),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue