Complete rewrite of message handler
This commit is contained in:
@ -138,7 +138,7 @@ function StatPointUI.OnLoad()
|
||||
end
|
||||
|
||||
function OnCacheReceived(sender, argTable)
|
||||
StatPointUI.cache = argTable[2]
|
||||
StatPointUI.cache = argTable[1]
|
||||
local rowContent = {"Strength", "Agility", "Stamina", "Intellect", "Spirit"}
|
||||
for i = 1, 5 do
|
||||
StatPointUI[rowContent[i]].Val:SetText(StatPointUI.cache[i])
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
## Interface: 30300
|
||||
## Title: StatPointUI
|
||||
## Notes: CMH Stat Point UI example script.
|
||||
## Version: 1.0
|
||||
## Version: 1.1
|
||||
## Author: Foereaper, Kaev
|
||||
##RequiredDeps: CMH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user