v0.13.8

C_SocialRestrictions

namespaceavailable in: camelot

Status in wowlua

12 functions: 0 implemented, 5 recorded, 7 guessed. 4 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AcknowledgeAgeVerificationRestrictionAcknowledges the notice about restrictions from age verification. · by wowlua
()
guessed
AcknowledgeRegionalChatDisabledAcknowledges the notice that chat is disabled in the player's region. · by wowlua
()
guessed
CanReceiveChatReturns true if the player meets all conditions that allow them to receive chat messages.
(): boolean
recorded
CanSendChatReturns true if the player meets all conditions that allow them to send chat messages.
(): boolean
guessed
IsAgeVerificationRestrictedReturns true if the account is restricted by the Age Verification feature.
(): boolean
recorded
IsAgeVerificationRestrictedMinorReturns 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.
(): boolean
guessed
IsChatDisabledWhether chat is disabled for the player. · by wowlua
(): boolean
recorded
IsFriendsDisabledWhether the friends system is disabled for the player. · by wowlua
(): boolean
recorded
IsMutedWhether the player is muted. · by wowlua
(): boolean
recorded
IsSilencedWhether the player is silenced. · by wowlua
(): boolean
guessed
IsSquelchedWhether the player is squelched. · by wowlua
(): boolean
guessed
SetChatDisabledDisables or enables chat for the player. · by wowlua
(disabled: boolean)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
ALERT_AGE_VERIFICATION_RESTRICTEDno payloadnot implemented
ALERT_REGIONAL_CHAT_DISABLEDno payloadnot implemented
CHAT_DISABLED_CHANGEDdisabled: booleannot implemented
CHAT_DISABLED_CHANGE_FAILEDdisabled: booleannot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ALERT_AGE_VERIFICATION_RESTRICTED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SocialRestrictions system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.