Mercurial > wow > squawk
comparison Squawk.lua @ 20:22178ac75587
Changing to libqtipclick1.1
author | wobin |
---|---|
date | Wed, 22 Jul 2009 22:04:16 +1000 |
parents | 431f2fce08f2 |
children |
comparison
equal
deleted
inserted
replaced
19:431f2fce08f2 | 20:22178ac75587 |
---|---|
36 Settings.Following = Model.db.profile.Following | 36 Settings.Following = Model.db.profile.Following |
37 Settings.Pending = Model.db.profile.Pending | 37 Settings.Pending = Model.db.profile.Pending |
38 Settings.Requested = Model.db.profile.Requested | 38 Settings.Requested = Model.db.profile.Requested |
39 Settings.Blocked = Model.db.profile.Blocked | 39 Settings.Blocked = Model.db.profile.Blocked |
40 Settings.Private = Model.db.profile.Private | 40 Settings.Private = Model.db.profile.Private |
41 Settings.Trendsetter = Model.db.profile.Trendsetter | |
41 | 42 |
42 LibStub("AceComm-3.0"):Embed(Controller) | 43 LibStub("AceComm-3.0"):Embed(Controller) |
43 LibStub("AceTimer-3.0"):Embed(Controller) | 44 LibStub("AceTimer-3.0"):Embed(Controller) |
44 Controller:RegisterComm("Squawk", Controller.ReceiveMessage) | 45 Controller:RegisterComm("Squawk", Controller.ReceiveMessage) |
45 LibStub("AceConsole-3.0"):Embed(View) | 46 LibStub("AceConsole-3.0"):Embed(View) |
47 | 48 |
48 Controller.Name = UnitName("player") | 49 Controller.Name = UnitName("player") |
49 _, Controller.Class = UnitClass("player") | 50 _, Controller.Class = UnitClass("player") |
50 | 51 |
51 Model.Squawks.Reload(Model.Squawks) -- Retrain the table lookups | 52 Model.Squawks.Reload(Model.Squawks) -- Retrain the table lookups |
53 | |
54 -- Now setup the SquawkTrends channel if opted in | |
55 if Settings.Trendsetter then | |
56 if #{GetChannelList()} > 17 then -- if we have a spare channel to use... | |
57 View:Print("Due to custom channel limitation, Squawk cannot transmit/recieve trending details") | |
58 end | |
59 end | |
60 | |
52 end | 61 end |