Quantcast
Download
(13 Kb)
Download
Updated: 10-26-16 04:08 PM
Compatibility:
Return to Karazhan (7.1.5)
Updated:10-26-16 04:08 PM
Created:12-07-14 12:16 AM
Downloads:833
Favorites:2
MD5:
Categories:Libraries, Data Mods, Garrisons

LibBodyguard-1.0

Version: v1.4.2
by: Sharparam [More]

A WoW AddOn library to query information about the player's current bodyguard (if any).

This is still in early progress, the plan is to be able to query any feasible information about bodyguards.

For now, only name, health and last known GUID are available.

Usage

The public API methods have LuaDoc comments, the rest of the code has some stray comments here and there.

To load library if you're using it embedded, specify the load.xml file in your TOC.

Use LibStub to consume the library in your WoW AddOns, just like any other library.

Documentation can be found on GitHub pages.

License

Copyright (c) 2014-2016 by Adam Hellberg.

LibBodyguard-1.0 is licensed under the MIT License, see the LICENSE file for more information.

Contributing

Contributions are greatly appreciated! Just submit a pull request and I'll have a look

To fork and create pull requests, visit the project's GitHub page.

Thanks to

The people at freenode/#wowuidev for being helpful as usual.

tag v1.4.2
390f9226b7195730df70fa69f0eccd0e1a1e7daa
Adam Hellberg <[email protected]>
2016-10-27 00:02:21 +0200

Release for 7.1

--------------------

Adam Hellberg:
- Bump interface version
- Add workaround for bugged units in 7.1
sarf:
- Fix for C_Garrison.GetFollowers returning null
Adam Hellberg:
- Use continents to detect bodyguard mode instead
* Using zones only caused issued with bodyguard data not updating
properly when player was in their class hall. Logic mixup with
BGH.
- Use ORDER_HALL_ZONE_SUPPORT instead of static string 'Combat Ally'
- Report inactive status for Legion bodyguards if not found
- Remove redundant lines
- Enable detection of Legion bodyguards
- Simplify follower ID assignment
- Remove Dalaran (Legion) from list of zones
* Bodyguards are not enabled in Dalaran (Legion).
- Clean formatting of legion spells table
- Add follower IDs for Legion bodyguards
- Add stub for updating Legion bodyguard from class hall
- Tiny optimization to CLEU handler
The args only need to be boxed in one of the if branches.
- Do not "instant heal" Legion bodyguards
- Detect if player is in WoD or Legion zone
- Add list of Legion bodyguard spells
- Rename defeated_spells -> DEFEATED_SPELLS

tag v1.4.1
c2d0f097b4d7beeae0539da62d948210bf399399
Adam Hellberg <[email protected]>
2016-08-26 11:51:58 +0200

Release for Legion

--------------------

Adam Hellberg:
- Update interface version for 7.0.3
Ian Leeder:
- Update garrison call for new patch API
As per user KanadiaNís comment here:
https://mods.curse.com/addons/wow/bodyguardhealth#c61

This change makes it work again.
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
v1.4.1
12kB
Sharparam
08-26-16 05:59 AM
v1.4.0-beta
12kB
Sharparam
08-15-16 06:10 AM
v1.2.0
11kB
Sharparam
12-20-14 03:07 PM
v1.1.2
11kB
Sharparam
12-11-14 12:14 PM
v1.1.1
11kB
Sharparam
12-07-14 12:16 AM


Post A Reply Comment Options
Unread 12-29-14, 05:20 PM  
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 210
File comments: 69
Uploads: 9
Ah, that makes sense - I admit i'd lazily done a find search for 'portrait' this morning and figured the portraitIconID return would cover it, but I notice now that that's for garrison plots instead :P
Report comment to moderator  
Reply With Quote
Unread 12-29-14, 04:08 PM  
Sharparam
A Warpwood Thunder Caller
 
Sharparam's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 17
Uploads: 6
Originally Posted by ObbleYeah
Can I put in a request for portrait info?
It would be a nice feature, but I'm not sure how portraits really work. They seem to be dynamically generated (as it wouldn't really work to have texture files for every single class/race/armor combo). And as such don't have a texture path you can pass around, so they only work for current target or other valid unit I guess.

So I'm not sure if it's at all possible, but I don't know much about textures. I can't seem to be able to find much information on it either :/
Report comment to moderator  
Reply With Quote
Unread 12-29-14, 03:14 PM  
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 210
File comments: 69
Uploads: 9
Can I put in a request for portrait info? Having to use a placeholder atm!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: