Get an Epic Experience with Premium

GuildMemberInfo

Plugins Login to Add Favorites
  • 1 Like
  • World of Warcraft
  • 225 Monthly Downloads
  • Supports: 5.2.0
  • 12,861 Total Downloads
  • Updated 03/12/2013
  • Created 06/05/2011
  • 13 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: 0.2.2
or

About GuildMemberInfo

Interface for addons to include extra information on the GuildMemberInfo frame.

How to use

This is only for other addon authors that want to put extra information next to the guild frame when people are selected.

Load GuildMemberInfo

In your toc make GuildMemberInfo a dependency

## Dependencies: GuildMemberInfo

Register with GuildMemberInfo

bool = GMI:Register('AddonName', {
	lines = {
		uniqueLabel = {
				-- Required
			callback = function(GetGuildRosterInfo(i)) return newText; end,
			
				-- Optional
			label = 'Label', -- localized field label, default is uniqueLabel
			default = 'Default Value',
			height = ##, -- Special height consideration, default is 10, this requires testing
			onload = function(labelF, textF) yourFunc(labelF,textF) end, -- Function to run when the frame is created
			text = false, -- Disable creating the text frame, works well with onload
		},
	},
});

Callback Example:

function yourCallback(name, ...)
	if true then
		return 'This is '..name;
	else
		-- Returning false doen't update the text
		return false;
	end
end

To-Do

A way to unregister items

Available Modules

------------------------------------------------------------------------
r19 | scotepi | 2013-03-13 03:59:57 +0000 (Wed, 13 Mar 2013) | 1 line
Changed paths:
   A /tags/0.2.2 (from /trunk:18)

Tagging as 0.2.2
------------------------------------------------------------------------
r18 | scotepi | 2013-03-13 03:14:26 +0000 (Wed, 13 Mar 2013) | 1 line
Changed paths:
   M /trunk/GuildMemberInfo.toc

TOC Update
------------------------------------------------------------------------

Comments

  • #1

    This (along with TradeSkills) is a really cool idea, but now i can see why it's not being picked up too much.

    You have click on someone to find out their skills. or their ilvl.

  • #2

    Trade skills i pulled from the roster, not interaction required.

    iLevel is from the last time you saw someone in the world (asuming it hasn't been purged). I would like to incorperate some sort of data sharing via SiL Social.

    --

    find me on twitter @scotepi

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship