WoW:API GetGossipOptions: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{API/Uncategorized}}
<center>'''GetGossipOptions''' ''-Documentation by [[User:Gxam|Gxam]]-''</center>
 
<!-- 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).
 
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
title1, gossip1 = GetGossipOptions()
 
== Parameters ==
=== Arguments ===
None.
 
=== Returns ===
;''Returns''
<!-- List each return value, together with its type -->
:title1, gossip1[, title2, gossip2 ...]
 
:;title# : String - The title of the gossip item.
:;gossip# : String - The string "gossip".
 
== Details ==
 
The gossip options are available after [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GOSSIP_SHOW|GOSSIP_SHOW]] has fired.
----
__NOTOC__
{{Template:WoW API}}

Revision as of 19:38, 7 January 2006

GetGossipOptions -Documentation by Gxam-

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 string "gossip".

Details

The gossip options are available after GOSSIP_SHOW has fired.


Template:WoW API