annotate Modules/GuildInfo.lua @ 102:1e511e9aaca5

- clean up handler loading inconsistencies; exclude free frames from anchor cluster iterations, and remove extraneous PLAYER_LOGIN handling - added a Setup method to the handler template that creates and reconciles a SavedVariables table for that module
author Nenue
date Wed, 25 Jan 2017 23:11:27 -0500
parents bb38bc0e787f
children a41f6b74709a
rev   line source
Nenue@102 1 VeneerRosterKunMixin = {
Nenue@102 2 addonTrigger = 'Blizzard_GuildUI',
Nenue@102 3
Nenue@102 4 anchorFrame = 'GuildFrame',
Nenue@102 5 anchorPoint = 'TOPLEFT',
Nenue@102 6 }
Nenue@102 7
Nenue@102 8
Nenue@102 9 local module = VeneerRosterKunMixin
Nenue@102 10
Nenue@102 11 function module:OnLoad()
Nenue@102 12
Nenue@102 13 Veneer:AddHandler(self, self.anchorPoint)
Nenue@102 14
Nenue@102 15 self:RegisterEvent('GUILD_ROSTER_UPDATE')
Nenue@102 16 self:RegisterEvent('GUILD_TRADESKILL_UPDATE')
Nenue@102 17 end
Nenue@102 18
Nenue@102 19 function module:OnEvent()
Nenue@102 20
Nenue@102 21
Nenue@102 22 end