API SetAutoDeclineGuildInvites

From Wowpedia
Jump to: navigation, search

Sets whether guild invitations should be automatically declined.

SetAutoDeclineGuildInvites(decline)

Arguments

decline 
String/Number - "1" or 1 if guild invitations should be automatically declined, or "0" or 0 if invitations should be shown to the user.

Triggers Events

Details

Blizzard's code always passes in a string value, but the function accepts both strings and numbers, just like SetCVar, and its counterpart GetAutoDeclineGuildInvites returns numeric values, just like GetCVar.

See also