WoW:Events/Skill: Difference between revisions

m
automated upload
m (Robot: converting/fixing HTML)
m (automated upload)
Line 13: Line 13:


Fired when some chat messages about skills are displayed.
Fired when some chat messages about skills are displayed.
 
; arg1: The content of the chat message.
; arg1 : The content of the chat message.


'''arg1''' formats are found in Blizzard's <tt>GlobalStrings.lua</tt>.  Some possibilities:
'''arg1''' formats are found in Blizzard's <tt>GlobalStrings.lua</tt>.  Some possibilities:
Line 20: Line 19:
* <tt>ERR_SKILL_GAINED_S</tt> (eg. "You have gained the Blacksmithing skill.")
* <tt>ERR_SKILL_GAINED_S</tt> (eg. "You have gained the Blacksmithing skill.")
* <tt>ERR_SKILL_UP_SI</tt> (eg. "Your skill in Cooking has increased to 221.")
* <tt>ERR_SKILL_UP_SI</tt> (eg. "Your skill in Cooking has increased to 221.")
{{evt|CHAT_MSG_SPELL_TRADESKILLS|Skill}}
{{evt|CRAFT_UPDATE|Skill}}
Fired when a crafting event is updating.




{{evt|SKILL_LINES_CHANGED|Skill}}
{{evt|SKILL_LINES_CHANGED|Skill}}


Fired when:
* Spellbook initially loads on client initialization.  (Attempting to use GetSpellName before this is complete will result in a UI error.  Note:  This event happens after ADDON_LOADED and VARIABLES_LOADED.)
* Learning new stuff that goes in the spellbook.
* Opening the spellbook.
* Equipping/Removing/Swapping primary weapon. (Changes the Attack icon)
* UpdateSpells() function is called, which is used throughout the spellbook.


 
;arg1
 
:nil when the char learns stuff. Also when changing weapons and shapeshifting. In addition it seems to be called on regular intervals for no apparent reason.
{{evt|UPDATE_TRADESKILL_RECAST|Skill}}
:# when the user opens the spellbook.
:'LeftButton' when using the mouse to open the spellbook or to browse through the pages and tabs of the open spellbook.
Anonymous user