Mercurial > wow > buffalo2
view Modules/Bank.lua @ 127:8a915f85b96c
Added tag v7.3.17102017 for changeset 3de635cda288
author | Nenue |
---|---|
date | Tue, 17 Oct 2017 17:24:27 -0400 |
parents | 3de635cda288 |
children | 799ec6dce9c3 |
line wrap: on
line source
-- -- Background data gathering for things that are only available from set places local print = DEVIAN_WORKSPACE and function(...) print('Bank', ...) end or nop local profileUpdate, needsUpdate VeneerBankDBMixin = {} local m = VeneerBankDBMixin function m:Setup() self:RegisterEvent('BANKFRAME_OPENED') self:RegisterEvent('BANKFRAME_CLOSED') self:SetPoint('CENTER', UIParent, 'CENTER') self:SetSize(100,100) m.Info:SetPoint('CENTER', self, 'CENTER') print('Setup()') self.Info:SetFontObject(GameFontNormal) self.Info:SetText('Setup') for k,v in pairs(self) do print(k,v) end end function m:OnEvent(event) print('OnEvent', event) self.Info:SetText(event) end