Thread Tools Display Modes
10-21-10, 07:13 PM   #1
Niightblade
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 21
Inspect buffer.

Does a library exist that can hook inspection requests and cache them? Is this do-able?

Last edited by Niightblade : 10-21-10 at 07:41 PM.
  Reply With Quote
10-21-10, 07:52 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
I just hook NoyifyInspect() to store the GUID of the unit being called and perform a scan on event "INSPECT_READY". When done, I store the info in a table with the GUID as the key.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-21-10, 08:37 PM   #3
Niightblade
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 21
Yeah that's fine on a per-addon basis, but I was thinking more of a cache "layer" that is invisible to addons. I suck at explaining
  Reply With Quote
10-24-10, 04:53 AM   #4
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 29
There are two (different level) concepts I used pre-4.0. They have both been updated by now, but I don't know how well they fare in a Cataclysm environment.

1. http://www.wowace.com/addons/libtalentquery-1-0/
2. http://www.wowace.com/addons/libgrouptalents-1-0/ , which uses the first one as a data basis.
__________________
It all starts to make a creepy kind of sense. Avatar
  Reply With Quote
10-24-10, 08:07 AM   #5
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Do you have to store the info after 4.0? the InspectUnit("unit") function seems to have stopped working as of 4.0. or is it just me?
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote
10-24-10, 11:20 AM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by Grimsin View Post
Do you have to store the info after 4.0? the InspectUnit("unit") function seems to have stopped working as of 4.0. or is it just me?
Official notes state it has throttling code built in to prevent repetitive calls. You're only allowed so many inspection calls in so much time. This seems to be glitchy and only works half the time.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Inspect buffer.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off