Rebornbuddy
|
Represents a base class that provides functionality to manage pointers to game objects or other entities. More...
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. |
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.
|
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).
|
protectedvirtual |
Invoked when the pointer to external memory is updated.
ptr | The 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.
void ff14bot.Objects.RemoteObject.UpdatePointer | ( | IntPtr | newptr | ) |
Updates the pointer to a new value and triggers any necessary update mechanisms.
newptr | The new pointer value to assign to the object. |
|
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.
|
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.
|
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.