WoW:Events/Skill: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (automated upload)
 
m (Move page script moved page Events/Skill to Events/Skill without leaving a redirect)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC____NOEDITSECTION__{{eventlistheader}}
__NOTOC____NOEDITSECTION__{{eventlistheader}}
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
<!-- DO NOT EDIT. THIS IS AN AUTOMATICALLY GENERATED PAGE. -->
:{{icon-information}}Note that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. [[Events/A]], [[Events/B]], etc. Changes there will be copied over to here within a few hours.
== Skill related events ==
== Skill related events ==


Line 6: 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:
 
<b>arg1</b> formats are found in Blizzard's <tt>GlobalStrings.lua</tt>.  Some possibilities:


* <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_CLOSE|Skill}}
Fired when a crafting skill window closes. Crafting skills are Enchanting, <craftSkill2>,...
; arg1 : The mouse button used to close the window.
{{evt|CRAFT_SHOW|Skill}}
Fired when a crafting skill window opens. Crafting skills are Enchanting, <craftSkill2>,...
; arg1 : The mouse button used to open the window.
{{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.

Latest revision as of 04:48, 15 August 2023

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Skill related events

"CHAT_MSG_SKILL"
Category: Player,Skill
 

Fired when some chat messages about skills are displayed.

arg1
The content of the chat message.

arg1 formats are found in Blizzard's GlobalStrings.lua. Some possibilities:

  • ERR_SKILL_GAINED_S (eg. "You have gained the Blacksmithing skill.")
  • ERR_SKILL_UP_SI (eg. "Your skill in Cooking has increased to 221.")


"SKILL_LINES_CHANGED"
Category: 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.
  1. 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.