Download
(14 Kb)
Download
Updated: 12-20-13 07:52 AM
Compatibility:
Siege of Orgrimmar (5.4)
Updated:12-20-13 07:52 AM
Created:08-27-12 07:01 PM
Downloads:1,043
Favorites:3
MD5:
5.4
LibResInfo-1.0
Version: 18
by: Phanx [More]
Library to provide information about resurrections cast in your group.

LibResInfo-1.0 detects resurrection spells being cast by group members, and identifies who they are being cast on. Information is provided to addons through callbacks and API functions.

LibResInfo-1.0 supports all player resurrection spells, plus Mass Resurrection and pre-cast Soulstone. It is fully embeddable, completely locale-independent, and does not require any other players in your group to have anything installed. It requires LibStub and CallbackHandler-1.0. It was written as a replacement for LibResComm-1.0, and converting addons from LRC to LRI is fairly simple. If you need help, post in the forum thread linked below.

Feedback

Please direct all bug reports, suggestions, questions, and comments to the WoWInterface forum thread.

Documentation
SVN Repository

svn://svn.wowinterface.com/LibResInfo-976/trunk

Click the link to view in your browser over HTTP, or copy the link text for your SVN client, svn:externals, or Curse .pkgmeta files.

Addons Using LibResInfo
If you know of an addon that should be listed here, please post in the forum thread.

Current Status

Support for Reincarnation is under consideration, but would require some guesswork, since until you actually see a shaman resurrect themselves, there's no way to tell if the ability is on cooldown or not.

No callbacks are fired for players who die while Mass Resurrection is being cast, but the API will return correct information (that the player has an incoming resurrection) so if it important for your addon, just check the player's status when they die.

No callbacks are fired for players who resurrect themselves by returning to their corpse while Mass Resurrection is the only res casting on them, but the API will (again) return correct information (that the player has no incoming resurrection) so if it important for your addon, just check the player's status when they resurrect.

Limitations

Due to limitations of the WoW API, it is not possible to detect:
  • ...when someone declines a resurrection manually by clicking "Decline" on the dialog box.
  • ...when someone has a wait time before they can accept a resurrection. In this case, the 60-second expiration time will be extended by the amount of time they are forced to wait, but the ResExpired callback will be fired at the 60-second mark since there's no way for LRI to know about the wait time.
  • ...who a player who joins the group while casting a resurrection spell is targeting.
  • ...whether a player who joins the group while dead has a resurrection being cast on them.
  • ...whether a player who joins the group while dead has a resurrection already available.
Archived Files (2)
File Name
Version
Size
Author
Date
17
14kB
Phanx
12-20-13 07:45 AM
r43
13kB
Phanx
03-05-13 05:38 AM


Post A Reply Comment Options
Unread 10-23-12, 07:03 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4253
File comments: 1954
Uploads: 39
Please direct all bug reports, suggestions, questions, and other comments to the LibResInfo forum thread. Thanks!
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: