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
|
// 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
|
// offset below is 4C 8B B0 ?? ?? ?? ?? 4D 85 F6 0F 84 ?? ?? ?? ?? 0F B6 83
|
||||||
var agentModule = (IntPtr) Framework.Instance()->GetUiModule()->GetAgentModule();
|
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
|
// offsets at sig E8 ?? ?? ?? ?? 33 C0 EB 4C
|
||||||
// this is called at the end of the 2c case
|
// this is called at the end of the 2c case
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace XivCommon.Functions.FriendList {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[StructLayout(LayoutKind.Explicit, Size = Size)]
|
[StructLayout(LayoutKind.Explicit, Size = Size)]
|
||||||
public unsafe struct FriendListEntry {
|
public unsafe struct FriendListEntry {
|
||||||
internal const int Size = 96;
|
internal const int Size = 104;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The content ID of the friend.
|
/// The content ID of the friend.
|
||||||
|
@ -20,31 +20,31 @@ namespace XivCommon.Functions.FriendList {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The current world of the friend.
|
/// The current world of the friend.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[FieldOffset(0x16)]
|
[FieldOffset(0x1E)]
|
||||||
public readonly ushort CurrentWorld;
|
public readonly ushort CurrentWorld;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The home world of the friend.
|
/// The home world of the friend.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[FieldOffset(0x18)]
|
[FieldOffset(0x20)]
|
||||||
public readonly ushort HomeWorld;
|
public readonly ushort HomeWorld;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The job the friend is currently on.
|
/// The job the friend is currently on.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[FieldOffset(0x21)]
|
[FieldOffset(0x29)]
|
||||||
public readonly byte Job;
|
public readonly byte Job;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The friend's raw SeString name. See <see cref="Name"/>.
|
/// The friend's raw SeString name. See <see cref="Name"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[FieldOffset(0x22)]
|
[FieldOffset(0x2A)]
|
||||||
public fixed byte RawName[32];
|
public fixed byte RawName[32];
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The friend's raw SeString free company tag. See <see cref="FreeCompany"/>.
|
/// The friend's raw SeString free company tag. See <see cref="FreeCompany"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[FieldOffset(0x42)]
|
[FieldOffset(0x4A)]
|
||||||
public fixed byte RawFreeCompany[5];
|
public fixed byte RawFreeCompany[5];
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Version>7.0.1</Version>
|
<Version>7.0.2</Version>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue