Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Objects.RemoteObject Class Reference

Represents a base class that provides functionality to manage pointers to game objects or other entities. More...

Inheritance diagram for ff14bot.Objects.RemoteObject:
ff14bot.Directors.Director ff14bot.Managers.AgentInterface ff14bot.Managers.AtkAddonControl ff14bot.Managers.Bag ff14bot.Managers.BagSlot ff14bot.Managers.DynamicEvent ff14bot.Managers.FateData ff14bot.Managers.GatheringItem ff14bot.Managers.GatheringLocationBonus ff14bot.Managers.HuntData ff14bot.Managers.PartyMember ff14bot.Objects.Auras ff14bot.Objects.GameObject ff14bot.Objects.SpellCastInfo ff14bot.Objects.SpellData ff14bot.Objects.VfxContainer ff14bot.RemoteWindows.RemoteUIElement

Public Member Functions

void UpdatePointer (IntPtr newptr)
 Updates the pointer to a new value and triggers any necessary update mechanisms.

Protected Member Functions

 RemoteObject (IntPtr pointer)
 Represents the base class for objects that manage pointers to external memory in the game or application.
virtual void OnUpdatePointer (IntPtr ptr)
 Invoked when the pointer to external memory is updated.

Properties

virtual bool IsValid [get]
 Indicates whether the instance is valid and points to a valid reference or object.
IntPtr VTable [get]
 Gets the virtual function table (VTable) pointer for the remote object.
IntPtr Pointer [get, set]
 Gets or sets the memory pointer for the associated object or entity.

Detailed Description

Represents a base class that provides functionality to manage pointers to game objects or other entities.

The RemoteObject class acts as a foundational class for many derived types such as game object representations, user interface elements, and other related components. The core functionality includes managing a pointer to external memory and providing mechanisms to update and validate that pointer.

Constructor & Destructor Documentation

◆ RemoteObject()

ff14bot.Objects.RemoteObject.RemoteObject ( IntPtr pointer)
protected

Represents the base class for objects that manage pointers to external memory in the game or application.

This serves as a foundational class for various derived classes, enabling management of and interaction with memory addresses or external entities. Provides methods for pointer validation, updates, and access to associated virtual table (VTable).

Member Function Documentation

◆ OnUpdatePointer()

virtual void ff14bot.Objects.RemoteObject.OnUpdatePointer ( IntPtr ptr)
protectedvirtual

Invoked when the pointer to external memory is updated.

Parameters
ptrThe new pointer to external memory.

This method is called internally whenever the pointer associated with the instance is updated. Derived classes can override this method to handle specific logic or perform additional actions when the pointer is reassigned or modified.

Reimplemented in ff14bot.Objects.Character.

◆ UpdatePointer()

void ff14bot.Objects.RemoteObject.UpdatePointer ( IntPtr newptr)

Updates the pointer to a new value and triggers any necessary update mechanisms.

Parameters
newptrThe new pointer value to assign to the object.

Property Documentation

◆ IsValid

virtual bool ff14bot.Objects.RemoteObject.IsValid
get

Indicates whether the instance is valid and points to a valid reference or object.

The IsValid property is used to determine whether the underlying pointer or identifier for the object is valid and can be accessed safely. The implementation may vary for different classes that inherit this property, incorporating class-specific validation checks or criteria.

◆ Pointer

IntPtr ff14bot.Objects.RemoteObject.Pointer
getset

Gets or sets the memory pointer for the associated object or entity.

The Pointer property typically references a memory address used to represent or manage an external object. This property is fundamental to the operation of memory handling and object management within the framework. Its validity should be checked before use, as it may point to invalid or null data.

◆ VTable

IntPtr ff14bot.Objects.RemoteObject.VTable
get

Gets the virtual function table (VTable) pointer for the remote object.

The VTable is a structure used internally by the application to manage pointers to methods and properties associated with this instance. This property reads the memory location of the virtual function table pointer using the process memory manager. It is mainly utilized in advanced scenarios where low-level manipulation or inspection of the object’s behavior is required.