Download
(4 Kb)
Download
Updated: 09/28/14 12:23 PM
Compatibility:
Update 4 (1.4.3)
Update 3 (1.3.3)
Updated:09/28/14 12:23 PM
Created:05/25/14 11:08 AM
Monthly downloads:24
Total downloads:15,088
Favorites:2
MD5:
LibGuildInfo  Popular! (More than 5000 hits)
Version: 1.3
by: Wobin, CrazyDutchGuy
(See Github for a slightly better formatted version)

LibGuildInfo


Author - Wobin
Date - 25/05/2014
Game - Elder Scrolls Online

This library will retrieve and store guild member information for easy access via account name or character name
Setup
  • Place the library in your addon folder
  • Reference LibStub in your manifest
  • Reference LibGuildInfo in your manifest
  • Reference LibGuildInfo in your code:
    Code:
    local LibGuildInfo = LibStub("LibGuildInfo-1.0")

API

The following API is defined:

GetGuildMemberByMemberName
Code:
LibGuildInfo:GetGuildMemberByMemberName(name)
  • name - being either the account name with the @ symbol or the character name

Returns- guildInfo - an object that contains all guild info used in the guild panel


GetClassNumByMemberName
Code:
LibGuildInfo:GetClassNumByMemberName(name)
  • name - as above

Returns- classNum - a number representing the class
  • [1] = "Dragon Knight"
  • [2] = "Sorcerer"
  • [3] = "Nightblade"
  • [6] = "Templar"

GetClassNameByMemberName
Code:
LibGuildInfo:GetClassNameByMemberName(name)
  • name - as above

Returns- className - The english representation of the class

GetLevelByMemberName
Code:
GetLevelByMemberName(name)
  • name - as above

Returns- level - Numerical representation of the player character's level. Veteren ranks represented by 'Vx'

GetAllianceNumByMemberName
Code:
GetAllianceNumByMemberName(name)
  • name as above

Returns- allianceNum - Numerical representation of the alliance the currently logged in player is a member of
  • [1] = "Aldmeri Dominion"
  • [2] = "Ebonhart Pact"
  • [3] = "Daggerfall Convenant"

GetAllianceNameByMemberName
Code:
GetAllianceNameByMemberName(name)
  • name as above

Returns- allianceName - The english representation of the Alliance

GetGuildRankIndexByMemberName
Code:
GetGuildRankIndexByMemberName(name)
  • name as above

Returns- rankIndex - Numerical representation of the account's guild rank (1 is Guild Leader)

GetGuildRankByMemberName
Code:
GetGuildRankByMemberName(name)
  • name as above

Returns- rank - A more textual representation 'GL' for Guild leader and 'Rx' for subsequent membership
1.3 - API 100009
1.2 - API 100008
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Uploader
Date
1.2
4kB
CrazyDutchGuy
08/04/14 12:27 PM
1.1
4kB
CrazyDutchGuy
07/13/14 03:12 AM
1.0
4kB
Wobin
05/25/14 11:08 AM
0B
05/25/14 11:08 AM


There have been no comments posted to this file.
Be the first to add one.



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.