Quantcast
WoWInterface: SVN - CharAchievements - Path Comparison - / Rev 1 and / Rev 2

WoWInterface SVN CharAchievements

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 1 to Rev 2
    Reverse comparison

Rev 1 → Rev 2

trunk/CharAchievements.lua New file
0,0 → 1,31
--[[--------------------------------------------------------------------
CharAchievements
Shows you only your current character's completed acheivements.
 
Limitations:
 
- This addon alters the functionality of a game API function, so it
may interfere with the expected behavior of other achievement
related addons.
 
- This addon DOES NOT (and cannot) affect how other people see your
achievements when they inspect you or view your character on the
Battle.net website. If you want to limit which achievements other
people can see, you need to enable the "Display Only Character
Achievements to Others" option under Interface > Display.
However, as of November 2012, this option does not appear to
actually do anything. Please contact Blizzard to report the bug
and request that they implement better privacy protections!
----------------------------------------------------------------------]]
 
local get = GetAchievementInfo
 
GetAchievementInfo = function(...)
local id, name, points, completed, month, day, year, description, flags, image, rewardText, isGuild, wasEarnedByMe, earnedBy = get(...)
 
if not wasEarnedByMe and not (completed and bit.band(flags, ACHIEVEMENT_FLAGS_ACCOUNT) == ACHIEVEMENT_FLAGS_ACCOUNT) then
return id, name, points, false, nil, nil, nil, description, flags, image, rewardText, isGuild, false, nil
end
 
return id, name, points, wasEarnedByMe, month, day, year, description, flags, image, rewardText, isGuild, wasEarnedByMe, earnedBy
end
\ No newline at end of file
trunk/CharAchievements.toc New file
0,0 → 1,7
## Interface: 60000
 
## Title: CharAchievements
## Notes: Show only your character's achievements as complete in-game.
## Author: Phanx
 
CharAchievements.lua
\ No newline at end of file