Skip to content

Commit

Permalink
API Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolgubon committed Jun 5, 2023
1 parent 66a9a81 commit 0ea8469
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ConstantSetup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ for i = 1, 41 do
end

DolgubonSetCrafter.setIndexes = {}
local LibLazyCrafting = LibStub:GetLibrary("LibLazyCrafting")
local LibLazyCrafting = LibLazyCrafting
local t = LibLazyCrafting.GetSetIndexes()
for i, value in pairs(t) do
if i ~=LibLazyCrafting.INDEX_NO_SET then -- don't want to sort the no set table in
Expand Down
2 changes: 1 addition & 1 deletion Crafter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end

local LazyCrafter

local LibLazyCrafting = LibStub:GetLibrary("LibLazyCrafting")
local LibLazyCrafting = LibLazyCrafting
local out = DolgubonSetCrafter.out

local validityFunctions
Expand Down
6 changes: 3 additions & 3 deletions DolgubonsLazySetCrafter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
; States and/or other countries. All rights reserved.
; You can read the full terms at https://account.elderscrollsonline.com/add-on-terms

## Title: Dolgubon's Lazy Set Crafter v2.8.1
## APIVersion: 101037
## Title: Dolgubon's Lazy Set Crafter v2.8.3
## APIVersion: 101038
## Author: Dolgubon
## Version: 2.8.1
## Version: 2.8.3
## SavedVariables: dolgubonslazysetcraftersavedvars
## DependsOn: LibLazyCrafting>=2996 LibAddonMenu-2.0 LibStub
## OptionalDependsOn: pChat LibFeedback LibCustomMenu LibPrice
Expand Down
5 changes: 3 additions & 2 deletions Favourites.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ local function loadQueueFavourite(selectedFavourite, useCurrentLevel, useCurrent

copy["Link"] = DolgubonSetCrafter.LazyCrafter.getItemLinkFromParticulars( returnedTable.setIndex,returnedTable.trait ,returnedTable.pattern ,returnedTable.station ,level,
isCP,returnedTable.quality,returnedTable.style, returnedTable.potencyItemId , returnedTable.essenceItemId, returnedTable.aspectItemId)
local enchantLevel = LibLazyCrafting.closestGlyphLevel(isCP, level)
enchantRequestTable = DolgubonSetCrafter.LazyCrafter:CraftEnchantingGlyphByAttributes(isCP, enchantLevel,

local enchantLevel = LibLazyCrafting.closestGlyphLevel(isCP, level)
enchantRequestTable = DolgubonSetCrafter.LazyCrafter:CraftEnchantingGlyphByAttributes(isCP, enchantLevel,
copy["Enchant"][1], copy["EnchantQuality"] ,
DolgubonSetCrafter:GetAutocraft(), returnedTable["Reference"], returnedTable)

Expand Down
6 changes: 3 additions & 3 deletions SetCrafter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function DolgubonSetCrafter:Initialize()
DolgubonSetCrafter.savedvars.notifyWiped = false
end end)]]

LLC, version = LibStub:GetLibrary("LibLazyCrafting")
LLC, version = LibLazyCrafting, LibLazyCrafting.version
if version <2.96 then
out("Your version of LibLazyCrafting is incompatible with this version of Dolgubon's Lazy Set Crafter. Please update the library.")
out = function() end
Expand All @@ -122,14 +122,14 @@ function DolgubonSetCrafter:Initialize()
DolgubonSetCrafter.initializeFunctions.setupUI()

--DolgubonSetCrafter.initializeFeedbackWindow()
local LibFeedback = LibStub:GetLibrary("LibFeedback")
local LibFeedback = LibFeedback
local button, window = LibFeedback:initializeFeedbackWindow(DolgubonSetCrafter, "Dolgubon's Lazy Set Crafter",DolgubonSetCrafterWindow, "@Dolgubon",
{TOPLEFT , DolgubonSetCrafterWindow , TOPLEFT , 10, 10},
{0,5000,50000, "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7CZ3LW6E66NAU"},
"If you found a bug, have a request or a suggestion, or wish to donate, you can send me a mail here.")
window:SetHidden(true)

local currentAPIVersionOfAddon = 101037
local currentAPIVersionOfAddon = 101038

if GetAPIVersion() > currentAPIVersionOfAddon and GetWorldName()~="PTS" then
d("Update your addons!")
Expand Down
2 changes: 1 addition & 1 deletion SetCrafterXMLUI.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Created by Dolgubon (Joseph Heinzle)
<GuiXml>
<Controls>
<TopLevelControl name="DolgubonSetCrafterToggle" clampedToScreen="true" mouseEnabled="true" movable="true" hidden="false" resizeToFitDescendents="true">
<Dimensions x="30" y="30" />
<Dimensions x="75" y="75" />

<OnMoveStop>

Expand Down

0 comments on commit 0ea8469

Please sign in to comment.