OneRing, the library
"Did I mention the kitchen sink?"
OPie consists of three main parts:
- A number of self-configuring rings for some classes.
- Configuration interface, allowing users to modify OPie behavior.
- OneRing library, providing the ring functionality through secure templates.
The general idea is that the three map directly to the levels of customization afforded by the addon:
- Included rings configure themselves based on player stats.
- Configuration interface allows users to create custom rings.
- Library API allows addon authors to create additional custom ring plug-ins.
This page outlines the OneRing library interface.
Library functions
OneRingLib functions are contained within the OneRing table and its sub-tables:
- OneRingLib, the central library API container. Supported methods.
- OneRingLib.xlu, common utility methods. Supported methods.
- OneRingLib.RingKeeper, adapter API aimed at simple ring plug-ins. Supported methods.
Reference Topics
Common scenarios with a more specific overview.
- OneRing propsTable description. Description of the OneRingLib propsTable format used to describe rings.
- EventLib API. Reference of the bundled library used to handle events and notification.