Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v7.3.5.034 release | 10.93 KB | Mar 9, 2018 | 7.3.5 | 221 | ![]() |
r9-release release | 10.71 KB | Sep 2, 2017 | 7.3.0 | 112 | ![]() |
v9-release release | 10.74 KB | Jun 25, 2017 | 7.2.5 | 69 | ![]() |
v28-Rev8 release | 10.87 KB | May 25, 2017 | 7.2.0 | 49 | ![]() |
r28 release | 11.48 KB | Jul 19, 2016 | 7.0.3 | 85 | ![]() |
v1.61 release | 11.43 KB | Oct 15, 2014 | 6.0.2 | 232 | ![]() |
v1.60 release | 11.36 KB | Jul 21, 2014 | 5.4.8 | 22 | ![]() |
1.53 release | 10.15 KB | Apr 25, 2014 | 5.4.7 | 53 | ![]() |
v1.52 release | 9.96 KB | Oct 31, 2013 | 5.4.0 | 36 | ![]() |
v1.51 release | 9.88 KB | Sep 10, 2013 | 5.4.0 | 38 | ![]() |
v1.50 release | 9.89 KB | Sep 10, 2013 | 5.4.0 | 25 | ![]() |
v1.40 release | 9.07 KB | Sep 2, 2013 | 5.4.0 | 67 | ![]() |
r15 release | 39.11 KB | Aug 28, 2013 | 5.3.0 | 623 | ![]() |
v1.31 release | 38.57 KB | Aug 28, 2013 | 5.3.0 | 37 | ![]() |
v1.3 release | 38.58 KB | Aug 27, 2013 | 5.3.0 | 25 | ![]() |
v1.2 release | 38.19 KB | Aug 26, 2013 | 5.3.0 | 29 | ![]() |
v1.1 release | 34.66 KB | Aug 23, 2013 | 5.3.0 | 22 | ![]() |
v1.0 release | 31.45 KB | Aug 23, 2013 | 5.3.0 | 25 | ![]() |
r37-alpha alpha | 9.97 KB | Dec 3, 2018 | 8.0.1 | 25 | ![]() |
r25 alpha | 10.97 KB | Apr 25, 2014 | 5.4.7 | 16 | ![]() |
r23 alpha | 10.71 KB | Oct 31, 2013 | 5.4.0 | 61 | ![]() |
r21 alpha | 10.60 KB | Sep 10, 2013 | 5.4.0 | 16 | ![]() |
r19 alpha | 10.56 KB | Sep 10, 2013 | 5.4.0 | 18 | ![]() |
r17 alpha | 9.53 KB | Sep 2, 2013 | 5.4.0 | 18 | ![]() |
r14 alpha | 39.09 KB | Aug 28, 2013 | 5.3.0 | 18 | ![]() |
r12 alpha | 39.05 KB | Aug 27, 2013 | 5.3.0 | 19 | ![]() |
r10 alpha | 38.63 KB | Aug 26, 2013 | 5.3.0 | 20 | ![]() |
r8 alpha | 35.66 KB | Aug 25, 2013 | 5.3.0 | 13 | ![]() |
r7 alpha | 35.05 KB | Aug 23, 2013 | 5.3.0 | 17 | ![]() |
r5 alpha | 616 Bytes | Aug 23, 2013 | 5.4.0 | 37 | ![]() |
r4 alpha | 34.93 KB | Aug 23, 2013 | 5.3.0 | 18 | ![]() |
r3 alpha | 31.82 KB | Aug 23, 2013 | 5.3.0 | 43 | ![]() |
r2 alpha | 31.66 KB | Aug 23, 2013 | 5.3.0 | 22 | ![]() |
r0 alpha | 29.89 KB | Aug 23, 2013 | 5.3.0 | 23 | ![]() |
!NickTag.zip alpha | 30.20 KB | Aug 22, 2013 | 5.3.0 | 20 | ![]() |
Description
This is a library used by others addons. If you aren't a addon developer, downloading this may have no effect in your game.
NickTag is a library developed for share your "Persona" between guild mates.
Many players have more then one characters and most of then are know by nicknames inside the guild environment.
With this library, addons can request nicknames, avatars and show then instead your character name.
Installing:
Install NickTag as you install any other library, but make sure to load NickTag after AceComm-3.0, AceSerializer-3.0, AceTimer-3.0 and CallbackHandler-1.0.
Cache Setup:
After install, you may want to use cache to store nicktag data received from others guild members.
For this, call YourAddonObject:NickTagSetCache ( MyTable ), were "MyTable" is a table which is any table saved with your "SavedVariablesPerCharacter".
Make sure to use "NickTagSetCache" after your addon load your saved data.
Player Nickname
Create a editbox and use the method YourAddonObject:SetNickname ( text ), NickTag will check the text passed, format and return if is a valid nickname.
In order to keep game smooth, the nickname passed is verified with same filters:
– Nickname can't be large then 12 characters.
– Isn't allowed numbers and others special characters.
– Can't repeat more then 2 times the same characters in a row.
– Can't have more then 2 spaces.
– Nickname is formated to fit title case, for instance, "SussY HArLey" is automatically formated to "Sussy Harley", "frank roger" to "Frank Roger".
– trim.
Player Avatar
NickTag have a built-in frame to choose player avatar: _G.AvatarPickFrame
A short example should be like this:
local AvatarCallBack = function (textureAvatar, textureAvatarTexCoord, textureBackground, textureBackgroundTexCoord, textureBackgroundColor) YourAddonObject:SetNicknameBackground (textureBackground, textureBackgroundTexCoord, textureBackgroundColor) YourAddonObject:SetNicknameAvatar (textureAvatar, textureAvatarTexCoord) _G.AvatarPickFrame.callback = nil end _G.AvatarPickFrame.callback = AvatarCallBack _G.AvatarPickFrame:Show()
Get Nickname and Avatar
Getting a nickname or avatar is quite simple, use the following methods:
YourAddonObject:GetNickname (GUID, default, silent)
YourAddonObject:GetNicknameAvatar (GUID, default, silent)
YourAddonObject:GetNicknameBackground (GUID, defaultPath, defaultTexCoord, defaultColor, silent)
Add a comment