WowAddons

World of Warcraft Forever API · C_SocialRestrictions.md, for your AI

C_SocialRestrictions

12 functions, 4 events, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_SocialRestrictions.AcknowledgeAgeVerificationRestriction

C_SocialRestrictions.AcknowledgeAgeVerificationRestriction()

C_SocialRestrictions.AcknowledgeRegionalChatDisabled

C_SocialRestrictions.AcknowledgeRegionalChatDisabled()

C_SocialRestrictions.CanReceiveChat

canReceiveChat = C_SocialRestrictions.CanReceiveChat()

Returns true if the player meets all conditions that allow them to receive chat messages.

Returns

canReceiveChatbool

C_SocialRestrictions.CanSendChat

canSendChat = C_SocialRestrictions.CanSendChat()

Returns true if the player meets all conditions that allow them to send chat messages.

Returns

canSendChatbool

C_SocialRestrictions.IsAgeVerificationRestricted

restricted = C_SocialRestrictions.IsAgeVerificationRestricted()

Returns true if the account is restricted by the Age Verification feature.

Returns

restrictedbool

C_SocialRestrictions.IsAgeVerificationRestrictedMinor

isMinor = C_SocialRestrictions.IsAgeVerificationRestrictedMinor()

Returns true if the Age Verification restriction is because the account belongs to a minor, as opposed to an adult who has not yet verified their age.

Returns

isMinorbool

C_SocialRestrictions.IsChatDisabled

disabled = C_SocialRestrictions.IsChatDisabled()

Returns

disabledbool

C_SocialRestrictions.IsFriendsDisabled

disabled = C_SocialRestrictions.IsFriendsDisabled()

Returns

disabledbool

C_SocialRestrictions.IsMuted

isMuted = C_SocialRestrictions.IsMuted()

Returns

isMutedbool

C_SocialRestrictions.IsSilenced

isSilenced = C_SocialRestrictions.IsSilenced()

Returns

isSilencedbool

C_SocialRestrictions.IsSquelched

isSquelched = C_SocialRestrictions.IsSquelched()

Returns

isSquelchedbool

C_SocialRestrictions.SetChatDisabled

C_SocialRestrictions.SetChatDisabled(disabled)

Arguments

disabledbool

Events

ALERT_AGE_VERIFICATION_RESTRICTED

No payload.

ALERT_REGIONAL_CHAT_DISABLED

No payload.

CHAT_DISABLED_CHANGE_FAILED

disabledbool

CHAT_DISABLED_CHANGED

disabledbool

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows