WoW:API GetSummonConfirmSummoner: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added doucumentation for this API where no page existed before)
 
m (Move page script moved page API GetSummonConfirmSummoner to API GetSummonConfirmSummoner without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
Get the name of the unit which initiated the players summon.
Get the name of the unit which initiated the players summon.
  playerName = GetSummonConfirmSummoner()
  playerName = GetSummonConfirmSummoner()
== Arguments ==
none


== Returns ==
== Returns ==
;playerName : String - Unit's name in English or nil.
;playerName : String - Name of the player summoning you, or nil if no summon is currently pending.


== Details ==
== Details ==
The functon returns correct results after the CONFIRM_SUMMON event.
The function returns correct results after the {{api|t=e|CONFIRM_SUMMON}} event.

Latest revision as of 04:46, 15 August 2023

WoW API < GetSummonConfirmSummoner

Get the name of the unit which initiated the players summon.

playerName = GetSummonConfirmSummoner()

Returns[edit]

playerName
String - Name of the player summoning you, or nil if no summon is currently pending.

Details[edit]

The function returns correct results after the CONFIRM_SUMMON event.