C_SocialRestrictions
namespaceavailable in: camelotStatus in wowlua
12 functions: 0 implemented, 5 recorded, 7 guessed. 4 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AcknowledgeAgeVerificationRestriction | Acknowledges the notice about restrictions from age verification. · by wowlua() | guessed |
AcknowledgeRegionalChatDisabled | Acknowledges the notice that chat is disabled in the player's region. · by wowlua() | guessed |
CanReceiveChat | Returns true if the player meets all conditions that allow them to receive chat messages.(): boolean | recorded |
CanSendChat | Returns true if the player meets all conditions that allow them to send chat messages.(): boolean | guessed |
IsAgeVerificationRestricted | Returns true if the account is restricted by the Age Verification feature.(): boolean | recorded |
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.(): boolean | guessed |
IsChatDisabled | Whether chat is disabled for the player. · by wowlua(): boolean | recorded |
IsFriendsDisabled | Whether the friends system is disabled for the player. · by wowlua(): boolean | recorded |
IsMuted | Whether the player is muted. · by wowlua(): boolean | recorded |
IsSilenced | Whether the player is silenced. · by wowlua(): boolean | guessed |
IsSquelched | Whether the player is squelched. · by wowlua(): boolean | guessed |
SetChatDisabled | Disables 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
| event | payload | fired by the emulator |
|---|---|---|
ALERT_AGE_VERIFICATION_RESTRICTED | no payload | not implemented |
ALERT_REGIONAL_CHAT_DISABLED | no payload | not implemented |
CHAT_DISABLED_CHANGED | disabled: boolean | not implemented |
CHAT_DISABLED_CHANGE_FAILED | disabled: boolean | not 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.