Amro8@legacy41521580 (talk | contribs) m (→Dongle API) |
No edit summary |
||
Line 1: | Line 1: | ||
+ | {{removed|patch=4.0.1|Replaced with [[Design: Regal Forest Emerald]]}} |
||
− | {{addon}} |
||
+ | {{#data:Itemtip |
||
− | Dongle is a minimal addon framework that tries to provide those components that are necessary for the bulk of addons, without trying to be a full-featured abstraction of the World of Warcraft API. Rather than providing a java-like library such as [[Sea]], Dongle provides a more pseudo-object oriented approach, allowing you to create a table with basic functionality included. |
||
+ | |name=Design: Regal Twilight Opal |
||
+ | |itemid=41703 |
||
+ | |quality=Rare |
||
+ | |ilvl=80 |
||
+ | |icon=INV_Scroll_05 |
||
+ | |bind=BoP |
||
+ | |prof=Jewelcrafting |
||
+ | |profskill=390 |
||
+ | |create=Regal Twilight Opal |
||
+ | |mats=[[:Twilight Opal]] |
||
+ | |use=Teaches you how to cut a Regal Twilight Opal |
||
+ | }} |
||
+ | ==Source== |
||
− | A basic Dongle addon to print "Hello World" to the default chat frame, waiting until the game is fully initialized looks like this: |
||
+ | This item is purchased from [[Tiffany Cartier]] in [[Dalaran]] for {{cost|djt=3}} |
||
⚫ | |||
− | HelloWorld = DongleStub("Dongle-1.0"):New("HelloWorld") |
||
+ | <!-- Read http://www.wowpedia.org/Wowpedia:External_links before posting your links here. |
||
− | |||
+ | Links that do not conform to the rules will be DELETED. |
||
− | function HelloWorld:Enable() |
||
+ | Repeat violations may result in a BAN. |
||
− | self:Print("Hello World!") |
||
+ | Have a nice day. :) --> |
||
− | end |
||
+ | {{Elinks-item|41703}} |
||
− | |||
− | Dongle uses a few simple things to make things easier for both developers and users. The versioning stub included in all Dongle libraries is called DongleStub, and is based off Iriel's [http://www.iriel.org/wow/addondev/embedlibrary1.html embedded framework design]. Rather than include DongleStub as a separate file in the distribution, the core Dongle libraries have the latest version of DongleStub included or built into the file distribution. That means to use Dongle, you simply include Dongle.lua and put it in your .toc file. |
||
− | |||
− | === Dongle systems === |
||
− | Dongle provides a number of simple systems which are included to make your life easier as a developer. They won't toast your bread, but they certainly help in each situation: |
||
− | |||
− | * [[Dongle/Module_System|Module System]] - Basic module implementation |
||
− | * [[Dongle/Database_System|Database System]] - Provides a comprehensive storage system |
||
− | |||
− | === Dongle API === |
||
− | You can start exploring the Dongle API from the [[Dongle/Core_API|Core API]] page, or you can dive in to an individual system: |
||
− | |||
− | * [[Dongle/Module_API|Module API]] - Creating and maintaining modules |
||
− | * [[Dongle/Events_API|Event API]] - Easy event registration and callback |
||
− | * [[Dongle/Message_API|Message API]] - Custom event registration and callback system |
||
− | * [[Dongle/Messages|Messages Listing]] - Reference of Messages that are sent by Dongle |
||
− | * [[Dongle/DebugPrint_API|Debug/Print API]] - Debug and Print functionality |
||
− | * [[Dongle/Database_API|Database API]] - Database system for saved variables |
||
− | * [[Dongle/Slash_API|Slash Command API]] - Slash command registration system |
||
− | * [[Dongle/Timer_API|Timer API]] - Efficient and simple Timer registration and callback system |
||
− | |||
− | === Help with Dongle=== |
||
− | |||
− | * Dongle Discussion group on Google Groups [http://groups.google.com/group/dongle-discuss/] |
||
− | * #dongle on irc.freenode.net |
||
− | |||
− | === Templates === |
||
− | Templates for starting an addon that uses Dongle. |
||
− | |||
− | * [[Dongle/AddonTemplate|Addon Template]] - This shows (basic) use of the slash command and database API |
||
− | |||
− | == DongleStub based libraries == |
||
− | * [[LegoBlock]] |
||
− | * [[OptionHouse]] |
||
− | |||
⚫ | |||
− | * [http://code.google.com/p/dongle Dongle on Google Code] |
||
− | |||
− | [[Category:Dongle]] |
||
− | [[Category:Function_Libraries]] |
Revision as of 08:55, 14 March 2011
The subject of this article was removed from World of Warcraft in patch 4.0.1.
|
- Design: Regal Twilight Opal
- Binds when picked up
- Use: Teaches you how to cut a Regal Twilight Opal
- Regal Twilight Opal
- +8 Dodge Rating and +12 Stamina
- "Matches a Red or Blue Socket."
- Sell Price: 4 50
- Twilight Opal
- Requires Jewelcrafting (390)
Source
This item is purchased from Tiffany Cartier in Dalaran for 3