This commit is contained in:
Robin 2021-01-13 16:40:03 +01:00
commit ccae0d64ee
10 changed files with 170 additions and 0 deletions

35
.gitmodules vendored Normal file
View File

@ -0,0 +1,35 @@
[submodule "Common"]
path = Common
url = https://git.grml.de/rilgamon/Common.git
[submodule "zz_Bags"]
path = zz_Bags
url = https://git.grml.de/rilgamon/zz_Bags.git
fetchRecurseSubmodules = false
[submodule "zz_Coords"]
path = zz_Coords
url = https://git.grml.de/rilgamon/zz_Coords.git
fetchRecurseSubmodules = false
[submodule "zz_Friends"]
path = zz_Friends
url = https://git.grml.de/rilgamon/zz_Friends.git
fetchRecurseSubmodules = false
[submodule "zz_Infoclock"]
path = zz_Infoclock
url = https://git.grml.de/rilgamon/zz_Infoclock.git
fetchRecurseSubmodules = false
[submodule "zz_Mailbox"]
path = zz_Mailbox
url = https://git.grml.de/rilgamon/zz_Mailbox.git
fetchRecurseSubmodules = false
[submodule "zz_MiscHelper"]
path = zz_MiscHelper
url = https://git.grml.de/rilgamon/zz_MiscHelper.git
fetchRecurseSubmodules = false
[submodule "zz_Money"]
path = zz_Money
url = https://git.grml.de/rilgamon/zz_Money.git
fetchRecurseSubmodules = false
[submodule "zz_Repair"]
path = zz_Repair
url = https://git.grml.de/rilgamon/zz_Repair.git
fetchRecurseSubmodules = false

3
Bindings.xml Normal file
View File

@ -0,0 +1,3 @@
<Bindings>
<Binding name="COORDS_TOGGLE" header="COORDS" category="ADDONS">zzCoords_MinimapToggle()</Binding>
</Bindings>

10
BrokerList.xml Normal file
View File

@ -0,0 +1,10 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
<Include file="zz_Coords\pack.xml"/>
<Include file="zz_Friends\pack.xml"/>
<Include file="zz_MiscHelper\pack.xml"/>
<Include file="zz_Infoclock\pack.xml"/>
<Include file="zz_Money\pack.xml"/>
<Include file="zz_Bags\pack.xml"/>
<Include file="zz_Repair\pack.xml"/>
<Include file="zz_Mailbox\pack.xml"/>
</Ui>

49
BrokerPack.lua Normal file
View File

@ -0,0 +1,49 @@
local name, addon = ...
addon['name'] = name
addon['parentName'] = name
addon['inits'] = addon['inits'] or {}
addon['defaults'] = {
['profile'] = {
["zz_Skeletontoggle"] = false,
}
}
addon['db'] = {}
local brokers = {}
function addon:RegisterBroker(brokerName, brokerFunc,default,defaults)
brokers[brokerName] = {
['func'] = brokerFunc,
['default'] = default,
['defaults'] = defaults,
}
end
function addon:PLAYER_ENTERING_WORLD(event,...)
for broker, tab in pairs(brokers) do
if(type(tab['defaults']) == 'table') then
addon['db']['profile'][broker] = addon['db']['profile'][broker] or tab['defaults']
else
addon['db']['profile'][broker] = addon['db']['profile'][broker] or {}
end
addon:AddConfigEntry(name,"toggle",broker.."toggle",broker,"Enable/Disable "..broker.." on next reload",1,nil,nil,nil,nil,addon['options']['args'][name])
if(addon['db']['profile'][broker..'toggle'] or addon['db']['profile'][broker..'toggle'] == nil) then
tab['func']()
end
end
self:UnregisterEvent(event)
end
function addon:ADDON_LOADED(event,arg1)
if(arg1 ~= name) then return end
addon['db'] = LibStub("AceDB-3.0"):New(name.."DB", addon['defaults'], true)
addon['db']['profile'][name] = addon['db']['profile'][name] or {}
addon:InitConfig(name)
self:UnregisterEvent(event)
end
addon:RegisterFunc({'ADDON_LOADED','PLAYER_ENTERING_WORLD'},"OnEvent", function(self, event, ...)
if(type(addon[event]) == 'function') then
addon[event](self, event, ...)
end
end)
-- addon['inits'][name] = init

14
BrokerPack.toc Normal file
View File

@ -0,0 +1,14 @@
## Interface: 90002
## X-Repository: https://svn.grml.de/BrokerPack
## X-WoWI-ID: 18953
## X-Curse-Project-ID: 28006
## X-TOC-Classic: 11302
## Title: BrokerPack
## Notes: Collection of available zz brokers
## Notes-deDE: Sammlung der verfügbaren zz Broker
## Author: Rilgamon
## OptionalDeps: Ace3, zzLibCommon
## SavedVariables: BrokerPackDB
Common\common.xml
BrokerPack.lua
BrokerList.xml

1
Common Submodule

@ -0,0 +1 @@
Subproject commit 762c59c6c6abc6ecaa71f3e36bb2c6dd16b8e0ed

50
changelog.txt Normal file
View File

@ -0,0 +1,50 @@
r43 | robin | Wed, 13 Jan 21 00:07:33 +0100
Changed paths:
M /trunk/zz_MiscHelper
M /trunk/zz_MiscHelper/Moduls/autogreed.lua
Remove LibBabble-Inventory
------------------------------------------------------------------------
r21 | robin | Tue, 12 Jan 21 23:50:22 +0100
Changed paths:
M /trunk/zz_Bags/core.lua
M /trunk/zz_Bags/locale_deDE.lua
M /trunk/zz_Bags/locale_enUS.lua
Add missing bagtypes
------------------------------------------------------------------------
r25 | robin | Mon, 11 Jan 21 00:21:35 +0100
Changed paths:
M /trunk/zz_Friends/core.lua
Fix possible nil gameAccountInfo
------------------------------------------------------------------------
r1246 | funkehdude | Sun, 03 Jan 21 03:43:27 +0100
Changed paths:
M /trunk/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
M /trunk/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua
Allow more room for other addons to draw under our widgets by setting the base frame level to 100.
------------------------------------------------------------------------
r1246 | funkehdude | Sun, 03 Jan 21 03:43:27 +0100
Changed paths:
M /trunk/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
M /trunk/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua
Allow more room for other addons to draw under our widgets by setting the base frame level to 100.
------------------------------------------------------------------------
r25 | robin | Sun, 20 Dec 20 01:13:27 +0100
Changed paths:
M /trunk/zz_Infoclock/core.lua
Fix "bug" by opening settings twice.
------------------------------------------------------------------------
r21 | robin | Tue, 01 Dec 20 08:16:56 +0100
Changed paths:
M /trunk/zz_Money/core.lua
M /trunk/zz_Money/locale_deDE.lua
M /trunk/zz_Money/locale_enUS.lua
M /trunk/zz_Money/locale_koKR.lua
M /trunk/zz_Money/locale_ruRU.lua
Add "delete char" function

6
license.txt Normal file
View File

@ -0,0 +1,6 @@
The following license excludes the libraries (Libs) included. See the libraries directory or website.
This AddOn is public domain. That means you can change it, rename it or paint it yellow.
My name (Rilgamon) is valid only for WoWInterface.com and curse.com.
If you use/offer this addon on another website please remove my name.
If you want to give me credit you can replace it with a link to my profile on WoWInterface.com.

1
zz_Bags Submodule

@ -0,0 +1 @@
Subproject commit 36664825e173a88eff98dc7c7e312e5084d67d9c

1
zz_Coords Submodule

@ -0,0 +1 @@
Subproject commit 3442903ee33a0ae8cb313c368fed558439a1f353