Mercurial > wow > buffalo2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 101:f32b63c93275 | 102:1e511e9aaca5 |
|---|---|
| 1 VeneerRosterKunMixin = { | |
| 2 addonTrigger = 'Blizzard_GuildUI', | |
| 3 | |
| 4 anchorFrame = 'GuildFrame', | |
| 5 anchorPoint = 'TOPLEFT', | |
| 6 } | |
| 7 | |
| 8 | |
| 9 local module = VeneerRosterKunMixin | |
| 10 | |
| 11 function module:OnLoad() | |
| 12 | |
| 13 Veneer:AddHandler(self, self.anchorPoint) | |
| 14 | |
| 15 self:RegisterEvent('GUILD_ROSTER_UPDATE') | |
| 16 self:RegisterEvent('GUILD_TRADESKILL_UPDATE') | |
| 17 end | |
| 18 | |
| 19 function module:OnEvent() | |
| 20 | |
| 21 | |
| 22 end |
