Merge pull request #489 from daemitus/bugs

Bugs
This commit is contained in:
goaaats 2021-08-22 22:24:38 +02:00 committed by GitHub
commit 1eab0ef770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 40 additions and 13 deletions

View file

@ -88,6 +88,11 @@ namespace Dalamud.Game.ClientState.Objects.Types
/// </summary>
public override uint TargetObjectId => this.Struct->GameObject.TargetObjectID;
/// <summary>
/// Gets the name ID of the character.
/// </summary>
public uint NameId => this.Struct->NameID;
/// <summary>
/// Gets the status flags.
/// </summary>

View file

@ -92,7 +92,7 @@ namespace Dalamud.Game.ClientState.Objects.Types
/// <summary>
/// Gets the name of this <see cref="GameObject" />.
/// </summary>
public SeString Name => MemoryHelper.ReadSeString((IntPtr)this.Struct->Name, 32);
public SeString Name => MemoryHelper.ReadSeString((IntPtr)this.Struct->Name, 64);
/// <summary>
/// Gets the object ID of this <see cref="GameObject" />.

View file

@ -107,7 +107,6 @@ namespace Dalamud.Game.Gui.FlyText
/// </summary>
public void Dispose()
{
this.createFlyTextHook.Disable();
this.createFlyTextHook.Dispose();
}