Compare commits
3 Commits
17eb76ad7b
...
b1426dc715
Author | SHA1 | Date |
---|---|---|
Anna | b1426dc715 | |
Anna | 7fec6207f2 | |
Anna | 6738af87d6 |
|
@ -50,7 +50,7 @@ namespace XivCommon.Functions {
|
|||
// 40 55 53 57 41 54 41 55 41 56 48 8D 6C 24
|
||||
// offset below is 4C 8B B0 ?? ?? ?? ?? 4D 85 F6 0F 84 ?? ?? ?? ?? 0F B6 83
|
||||
var agentModule = (IntPtr) Framework.Instance()->GetUiModule()->GetAgentModule();
|
||||
var rciData = Marshal.ReadIntPtr(agentModule + 0x1A8);
|
||||
var rciData = Marshal.ReadIntPtr(agentModule + 0x1B0);
|
||||
|
||||
// offsets at sig E8 ?? ?? ?? ?? 33 C0 EB 4C
|
||||
// this is called at the end of the 2c case
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<LangVersion>latest</LangVersion>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>7.0.1</Version>
|
||||
<Version>7.0.2</Version>
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
Loading…
Reference in New Issue