LibCustomAchievement-1.0

API

  • 2 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Namespace methods stolenlegacy stolenlegacy Oct 23, 2011
All the methods listed below are to be called on your namespace object. For information on how to register a namespace object, see here. Registering achievements achievementNamespace:RegisterAchievement(id, name, desc, icon, criteria, category, prevAch, nextAch) Arguments id number Numeric ID for your achievement. Needs to be unique within your namespace. Used to address your achievement within the namespace's methods. name string String used as the name of your achievement. Will be used to...
Registering your namespace stolenlegacy stolenlegacy Oct 22, 2011
If you want to register your custom achievements with LibCustomAchievement, the first think you'll need to do is register a namespace for your achievements. local achievementNamespace = LibStub("LibCustomAchievement-1.0"):RegisterNamespace(namespaceLabel, namespaceTable) Arguments namespaceLabel string Unique label for the namespace. This will also be the name of the category of your achievements in the achievements panel and used in the achievementIDs for your achievements. Try not to use...
  • 2 pages found