You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Neuron.lua
-51Lines changed: 0 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,6 @@ Neuron.registeredGUIData = {}
43
43
--these are the database tables that are going to hold our data. They are global because every .lua file needs access to them
44
44
NeuronItemCache= {} --Stores a cache of all items that have been seen by a Neuron button
45
45
NeuronSpellCache= {} --Stores a cache of all spells that have been seen by a Neuron button
46
-
NeuronCollectionCache= {} --Stores a cache of all Mounts and Battle Pets that have been seen by a Neuron button
47
46
NeuronToyCache= {} --Stores a cache of all toys that have been seen by a Neuron button
48
47
49
48
@@ -153,7 +152,6 @@ function Neuron:OnInitialize()
153
152
--load saved variables into working variable containers
154
153
NeuronItemCache=DB.NeuronItemCache
155
154
NeuronSpellCache=DB.NeuronSpellCache
156
-
NeuronCollectionCache=DB.NeuronCollectionCache
157
155
NeuronToyCache=DB.NeuronToyCache
158
156
159
157
--these are the working pointers to our global database tables. Each class has a local GDB and CDB table that is a pointer to the root of their associated database
@@ -197,9 +195,7 @@ function Neuron:OnEnable()
197
195
Neuron:RegisterEvent("LEARNED_SPELL_IN_TAB")
198
196
199
197
ifnotNeuron.isWoWClassicthen
200
-
Neuron:RegisterEvent("COMPANION_LEARNED")
201
198
Neuron:RegisterEvent("TOYS_UPDATED")
202
-
Neuron:RegisterEvent("PET_JOURNAL_LIST_UPDATE")
203
199
end
204
200
205
201
Neuron:UpdateStanceStrings()
@@ -281,7 +277,6 @@ function Neuron:PLAYER_ENTERING_WORLD()
281
277
Neuron:UpdateStanceStrings()
282
278
283
279
ifnotNeuron.isWoWClassicthen
284
-
Neuron:UpdateCollectionCache()
285
280
Neuron:UpdateToyCache()
286
281
end
287
282
@@ -321,14 +316,6 @@ function Neuron:SPELLS_CHANGED()
321
316
Neuron:UpdateStanceStrings()
322
317
end
323
318
324
-
functionNeuron:COMPANION_LEARNED()
325
-
Neuron:UpdateCollectionCache()
326
-
end
327
-
328
-
functionNeuron:PET_JOURNAL_LIST_UPDATE()
329
-
Neuron:UpdateCollectionCache()
330
-
end
331
-
332
319
functionNeuron:TOYS_UPDATED(...)
333
320
Neuron:UpdateToyCache()
334
321
end
@@ -582,44 +569,6 @@ function Neuron:UpdateToyCache()
582
569
583
570
end
584
571
585
-
586
-
--- Compiles a list of battle pets & mounts a player has. This table is used to refrence macro spell info to generate tooltips and cooldowns.
587
-
--- If a companion is not displaying its tooltip or cooldown, then the item in the macro probably is not in the database
0 commit comments