fix: update friend list

This commit is contained in:
Anna 2023-05-27 02:24:14 -04:00
parent 6738af87d6
commit 7fec6207f2
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ namespace XivCommon.Functions.FriendList {
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = Size)]
public unsafe struct FriendListEntry {
internal const int Size = 96;
internal const int Size = 104;
/// <summary>
/// The content ID of the friend.
@ -20,31 +20,31 @@ namespace XivCommon.Functions.FriendList {
/// <summary>
/// The current world of the friend.
/// </summary>
[FieldOffset(0x16)]
[FieldOffset(0x1E)]
public readonly ushort CurrentWorld;
/// <summary>
/// The home world of the friend.
/// </summary>
[FieldOffset(0x18)]
[FieldOffset(0x20)]
public readonly ushort HomeWorld;
/// <summary>
/// The job the friend is currently on.
/// </summary>
[FieldOffset(0x21)]
[FieldOffset(0x29)]
public readonly byte Job;
/// <summary>
/// The friend's raw SeString name. See <see cref="Name"/>.
/// </summary>
[FieldOffset(0x22)]
[FieldOffset(0x2A)]
public fixed byte RawName[32];
/// <summary>
/// The friend's raw SeString free company tag. See <see cref="FreeCompany"/>.
/// </summary>
[FieldOffset(0x42)]
[FieldOffset(0x4A)]
public fixed byte RawFreeCompany[5];
/// <summary>