WoW:API GetGossipOptions: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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 ...]


Line 22: Line 18:


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}}

Revision as of 20:21, 21 June 2006

WoW API < GetGossipOptions

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

title1, gossip1 = GetGossipOptions()

Parameters

Arguments

None.

Returns

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

Details

The gossip options are available after GOSSIP_SHOW has fired.