View Single Post
04-02-21, 08:19 PM   #1
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Getting pet details from a petGUID

Hi all

I am trying to get pet details from a cursor drop onto a button.

For the pet I have been testing with the Lil' XT;
Lua Code:
  1. cursorType, petGUID = GetCursorInfo()
  2. print(cursorType, petGUID)
  3. --  resulting print -- battlepet BattlePet-0-0000003D1B7D
The issue I am having is that I cannot seem to find a function that uses the petGUID to get all the pet details.

Is there a way of getting all the pet details using the petGUID?
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote