Lua LuaGenericObject

LuaGenericObject
Lua representation base for all objects. No object should be of this type, however every object inherits it's members and methods.

Members

 * BaseAddress - Base address of this object. Local player will be zero(?).
 * EntryID - Entry ID for this object, such as 448 for Hogger (NPC).
 * QuestSymbol - ID of the quest symbol type above this object (see details).
 * Type - Numeric representation of this objects type.
 * Position - CLR Vector3 object reference for this objects position.
 * Rotation - Rotation value for this object.
 * Distance - Distance from the local player to this object.
 * Distance2D - 2D distance from the local player to this object.
 * DistanceSquared2D - 2D distance from the local player to this object squared.
 * DistanceSquared - Distance from the local player to this object squared.
 * InteractRange - Range the player needs to be within to interact with this.
 * IsValid - Is the object this represents still valid.
 * Name - The name of this object, as seen in-game.
 * DisplayName - The display name for this object, as seen in ReBot.
 * GUID - GUID of this object.
 * CreatedBy - GUID of the unit which created this object.

Methods

 * DistanceSquaredTo - Distance squared from this object to provided argument.
 * DistanceTo - Distance from this object to the provided argument.
 * DistanceSquared2DTo - 2D distance squared from this object to the provided argument.
 * Distance2DTo - 2D distance from this object to the provided argument.
 * InRange - Check if an object is within the specified range of another.
 * Interact - Interacts with the object.