• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

LibAchievements

 
Project Updated:
Files Updated: Thu, Aug 20 2009
Supports Game Version: Unknown
Category: Development Tools
Tags:

[Edit Tags]

Project Manager: tmpst
Additional Authors: No additional authors
Current Version: LibAchievements 0.3
License: Creative Commons Attribution-Noncommercial-Share A
Development Site: CurseForge
Avg Daily DL (last 30 days): 1
Downloads Total: 1,613
Favorites: 2
Comments: 0
  • About LibAchievements
  •  

This addon provides functionality to other addons by allowing them to create their own achievement entries in the Tome of Knowledge. You won't notice anything just by installing this addon without other addons using it!

This is work in progress so the interface, function names, etc. might still change!

Provided functions

LibAchievements.CreateCategory(name)


Creates the category named "name" (if it doesn't exist yet) and returns the addon internal ID used in other functions.
name (string/wstring): The name of the new category.
return value (int): The created (or found) category's ID.

LibAchievements.CreatePage(catid, name, unlocked, desc)


Creates the page named "name" (if it doesn't exist yet) in the category identified by ID and returns its ID.
catid (int): The ID of the category (see above) where the page should be added.
name (string/wstring): The name of the new page.
unlocked (bool): Determines if the page's entry is clickable.
desc (string/wstring): The description to show on the page once it's opened.
return value (int): The created (or found) page's ID.

LibAchievements.AppendEntry(pageid, name, desc, func)


Adds a new achievement entry to the page and returns its ID.
pageid (int): The ID of the page (see above) where the entry should be added.
name (string/wstring): The name of the entry.
desc (string/wstring): The description text of the entry.
func (function returning bool): The function to check, if the entry is unlocked (will be called and has to return a boolean value (true/false))
return value (int): The created entry's ID.

LibAchievements.UpdateEntry(pageid, entryid, name, desc, func)


Updates an entry by modifying name, description, etc.
entryid (int): The ID of the entry that should be modified.
For other parameters read "AppendEntry".

Right now there is no way to remove categories/pages/entries "on the fly" but in the rare case you'd have to do it, you could just modify LibAchievements.Categories and LibAchievements.Pages.

  • Downloads (3)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  LibAchievements 0.3 Beta Unknown 518 8/20/2009
  LibAchievements 0.2 Beta 1.3 618 6/19/2009
  LibAchievements 0.1 Beta 1.2.1 476 4/24/2009
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Addon Packs Containing LibAchievements

Most Downloads / Day

LibAchievements has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 104 LibSlash Development Tools
  2. 69 NerfedButtons Action Bars, and Development...
  3. 46 Phantom Buffs & Debuffs, Development...
  4. 31 RV_Mods Manager (RV) Unit Frames, Combat, Development...
  5. 19 RVAPI_Frames (RV) Development Tools, Artwork...