Lore archive · Warcraft Wiki, 2023 dump
API DeclineGroup
Last wiki revision 2023-06-15
Declines an invitation to a group. DeclineGroup
The following snippet auto-declines invitations from characters whose names contain Ghost.
- You can use this after recieving the event. If there is no invitation to a party, this function doesn't do anything.
- Calling this function does NOT cause the "accept/decline dialog" to go away. Use ("PARTY_INVITE") to hide the dialog.
- Depending on the order events are dispatched in, your event handler may run before UIParent's, and therefore attempt to hide the dialog before it is shown. Delaying the attempt to hide the popup until resolves this.
Source
https://warcraft.wiki.gg/wiki/API_DeclineGroup · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.