Skip to content

Determines which items are usable or not for the player's class

Notifications You must be signed in to change notification settings

Jaliborc/Unfit-1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unfit-1.0 🚫

Patreon Paypal Discord

World of Warcraft library to determine which items are usable or not given the player's class.

API

Function Input Return
.IsItemUnusable(item) The item name, ID, hyperlink or string boolean
.IsClassUnusable(class, subclass, [slot]) A class, subclass and inventory type as returned by GetItemInfo boolean
.Embed(object) A table you want to embed the rest of the API into. nil

Usage

To access Unfit functions, simply retrieve it from LibStub:

-- Load the library
local Unfit = LibStub("Unfit-1.0")

-- Call the functions
Unfit:IsItemUnusable(131683)

⚠️ Reminder!

If you use this library, please list it as one of your dependencies in the CurseForge admin system. It's a big help! 👍

About

Determines which items are usable or not for the player's class

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages