📄️ Enabling ObjectManager and Setting Up Unit References
Enabling the ObjectManager
📄️ Unit Class
The Unit class is a powerful tool for interacting with and gathering information about units in the game world. It provides a wide range of methods to access various properties and states of a unit, such as health, position, and combat status.
📄️ Flexible Method Naming in Unit Class
The Unit class implements a sophisticated metatable mechanism that allows for flexible and forgiving method naming conventions. This feature enhances the usability of the class by accommodating various naming styles and potential typos.
📄️ Unit Properties
The Unit class provides a wide range of properties to access information about game units. Below is a comprehensive list of these properties, along with examples of how to use them.
📄️ Virtual Units
Virtual units are a powerful concept in World of Warcraft addon development that allow you to reference specific units without knowing their exact GUID or name. These units are "virtual" because they don't represent a specific entity, but rather a relationship or role that can change during gameplay.
📄️ LocalPlayer Properties
The Player class represents the player character in the game. It inherits all properties and methods from the Unit class, providing additional player-specific functionality.
📄️ Aura Methods
The Unit class provides several methods to check and retrieve information about auras (buffs and debuffs) on a unit.
📄️ ObjectManager Lists and Functions
The ObjectManager provides various lists and functions to help you manage and interact with units in the game. This guide will explain how to use these lists and functions effectively in your rotations.
📄️ AreaTrigger Properties
The AreaTrigger class represents area triggers in the game world. These are often used for environmental effects, spell areas, or interactive zones.