WoW:API GetGossipOptions: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetGossipOptions to API GetGossipOptions without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''GetGossipOptions''' ''-Documentation by [[User:Gxam|Gxam]]-''</center>
{{wowapi}}
 
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too).
Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too).


<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  title1, gossip1 = GetGossipOptions()
  title1, gossip1 = GetGossipOptions()


Line 13: Line 10:
=== Returns ===
=== Returns ===
;''Returns''
;''Returns''
<!-- List each return value, together with its type -->
:title1, gossip1[, title2, gossip2 ...]
:title1, gossip1[, title2, gossip2 ...]


:;title# : String - The title of the gossip item.
:;title# : String - The title of the gossip item.
:;gossip# : String - The string "gossip".
:;gossip# : String - The gossip type: banker, battlemaster, binder, gossip, healer, petition, tabard, taxi, trainer, unlearn, or vendor


== Details ==
== Details ==


The gossip options are available after [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GOSSIP_SHOW|GOSSIP_SHOW]] has fired.
The gossip options are available after [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GOSSIP_SHOW|GOSSIP_SHOW]] has fired.
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < GetGossipOptions

Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too).

title1, gossip1 = GetGossipOptions()

Parameters[edit]

Arguments[edit]

None.

Returns[edit]

Returns
title1, gossip1[, title2, gossip2 ...]
title#
String - The title of the gossip item.
gossip#
String - The gossip type: banker, battlemaster, binder, gossip, healer, petition, tabard, taxi, trainer, unlearn, or vendor

Details[edit]

The gossip options are available after GOSSIP_SHOW has fired.