Description
This is NOT an AddOn, it is meant for developers only
This library keeps a database of all people that you mouse-over and people that come up when you do a party search.
This information is kept in a table that is saved to your savedvariables file.
The information held inside the variable is as such: player name, main level/class, secondary level/class, title, and guild.
The guild will be nil 99% of the time due to it being impossible to get someones guild name through the API.
Usage
local mainclass, mainlvl, subclass, sublvl, title, guild = LibPlayerCache.GetChar(player_name);
Installation
- Include LibPlayerCache.lua, LibPlayerCache.xml, and LibStub.lua with your addon's files
- Add LibStub.lua followed by LibPlayerCache.xml and LibPlayerCache.lua to your .toc, before any files that use LibPlayerCache
- Place this line at the top any files that use LibPlayerCache: local LibPlayerCache = LibStub("LibPlayerCache-1.0")
Facts
- Date created
- 11 Apr 2009
- Category
- Last update
- 13 May 2009
- Development stage
- Release
- Language
- enUS
- License
- MIT License
- Curse link
- LibPlayerCache
- Recent files