mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: still expose Framework BaseAddress via address resolver
This commit is contained in:
parent
2febdd2124
commit
dcbd611876
1 changed files with 7 additions and 3 deletions
|
|
@ -1,14 +1,18 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using ImGuiNET;
|
|
||||||
|
|
||||||
namespace Dalamud.Game
|
namespace Dalamud.Game
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The address resolver for the <see cref="Framework"/> class.
|
/// The address resolver for the <see cref="Framework"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class FrameworkAddressResolver : BaseAddressResolver
|
public sealed unsafe class FrameworkAddressResolver : BaseAddressResolver
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the base address of the Framework object.
|
||||||
|
/// </summary>
|
||||||
|
[Obsolete("Please use FFXIVClientStructs.FFXIV.Client.System.Framework.Framework.Instance() instead.")]
|
||||||
|
public IntPtr BaseAddress => new(FFXIVClientStructs.FFXIV.Client.System.Framework.Framework.Instance());
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the address for the function that is called once the Framework is destroyed.
|
/// Gets the address for the function that is called once the Framework is destroyed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue