promotional bannermobile promotional banner

LibPetJournal-1.0

Abandoned
Provide a list of mini pets without filter interference.

I have rewritten a new version as LibPetJournal-2.0 with a changed API. It improves on several serious issues with this library.

LibPetJournal is a library that retrieves information from the new C_PetJournal API. The primary purpose of this library is to be able to retrieve pet information without interference from the Pet Journal filters.

API Documentation

Example

local LibPetJournal = LibStub("LibPetJournal-1.0")
local function ScanPets(event, petjournal)
    for i,pet in pairs(petjournal.Pets) do 
        if pet.name == "Feline Familiar" then
            print("A cat in a hat was found.")
        end
    end
end
LibPetJournal:RegisterCallback("PetsUpdated", ScanPets)
ScanPets(nil, LibPetJournal)

The LibPetJournal-1.0 Team

HighCrafter tier frameprofile avatar
  • 11
    Projects
  • 1.2M
    Downloads

More from endwashereView all