World of Warcraft Forever API · C_SocialQueue.md, for your AI
C_SocialQueue
8 functions, 2 events, 4 tables, 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_SocialQueue.GetAllGroups
groupGUIDs = C_SocialQueue.GetAllGroups([allowNonJoinable], [allowNonQueuedGroups])
Arguments
allowNonJoinable | bool default false | |
|---|---|---|
allowNonQueuedGroups | bool default false |
Returns
groupGUIDs | WOWGUID[] |
|---|
C_SocialQueue.GetConfig
config = C_SocialQueue.GetConfig()
May return nothing.
Returns
config | SocialQueueConfig |
|---|
C_SocialQueue.GetGroupForPlayer
groupGUID, isSoloQueueParty = C_SocialQueue.GetGroupForPlayer(playerGUID)
May return nothing.
Arguments
playerGUID | WOWGUID |
|---|
Returns
groupGUID | WOWGUID | |
|---|---|---|
isSoloQueueParty | bool |
C_SocialQueue.GetGroupInfo
canJoin, numQueues, needTank, needHealer, needDamage, isSoloQueueParty, questSessionActive, leaderGUID = C_SocialQueue.GetGroupInfo(groupGUID)
May return nothing.
Arguments
groupGUID | WOWGUID |
|---|
Returns
canJoin | bool | |
|---|---|---|
numQueues | number | |
needTank | bool | |
needHealer | bool | |
needDamage | bool | |
isSoloQueueParty | bool | |
questSessionActive | bool | |
leaderGUID | WOWGUID |
C_SocialQueue.GetGroupMembers
groupMembers = C_SocialQueue.GetGroupMembers(groupGUID)
May return nothing.
Arguments
groupGUID | WOWGUID |
|---|
Returns
groupMembers | SocialQueuePlayerInfo[] |
|---|
C_SocialQueue.GetGroupQueues
queues = C_SocialQueue.GetGroupQueues(groupGUID)
May return nothing.
Arguments
groupGUID | WOWGUID |
|---|
Returns
queues | SocialQueueGroupQueueInfo[] |
|---|
C_SocialQueue.RequestToJoin
requestSuccessful = C_SocialQueue.RequestToJoin(groupGUID, [applyAsTank], [applyAsHealer], [applyAsDamage])
Arguments
groupGUID | WOWGUID | |
|---|---|---|
applyAsTank | bool default false | |
applyAsHealer | bool default false | |
applyAsDamage | bool default false |
Returns
requestSuccessful | bool |
|---|
C_SocialQueue.SignalToastDisplayed
C_SocialQueue.SignalToastDisplayed(groupGUID, priority)
Arguments
groupGUID | WOWGUID | |
|---|---|---|
priority | number |
Events
SOCIAL_QUEUE_CONFIG_UPDATED
No payload.
SOCIAL_QUEUE_UPDATE
groupGUID | WOWGUID | |
|---|---|---|
numAddedItems | number may be nil |
Tables
SocialQueueConfig structure
TOASTS_DISABLED | bool | |
|---|---|---|
TOAST_DURATION | number | |
DELAY_DURATION | number | |
QUEUE_MULTIPLIER | number | |
PLAYER_MULTIPLIER | number | |
PLAYER_FRIEND_VALUE | number | |
PLAYER_GUILD_VALUE | number | |
THROTTLE_INITIAL_THRESHOLD | number | |
THROTTLE_DECAY_TIME | number | |
THROTTLE_PRIORITY_SPIKE | number | |
THROTTLE_MIN_THRESHOLD | number | |
THROTTLE_PVP_PRIORITY_NORMAL | number | |
THROTTLE_PVP_PRIORITY_LOW | number | |
THROTTLE_PVP_HONOR_THRESHOLD | number | |
THROTTLE_LFGLIST_PRIORITY_DEFAULT | number | |
THROTTLE_LFGLIST_PRIORITY_ABOVE | number | |
THROTTLE_LFGLIST_PRIORITY_BELOW | number | |
THROTTLE_LFGLIST_ILVL_SCALING_ABOVE | number | |
THROTTLE_LFGLIST_ILVL_SCALING_BELOW | number | |
THROTTLE_RF_PRIORITY_ABOVE | number | |
THROTTLE_RF_ILVL_SCALING_ABOVE | number | |
THROTTLE_DF_MAX_ITEM_LEVEL | number | |
THROTTLE_DF_BEST_PRIORITY | number |
SocialQueueGroupInfo structure
canJoin | bool | |
|---|---|---|
numQueues | number | |
needTank | bool | |
needHealer | bool | |
needDamage | bool | |
isSoloQueueParty | bool | |
questSessionActive | bool | |
leaderGUID | WOWGUID |
SocialQueueGroupQueueInfo structure
clientID | number | |
|---|---|---|
eligible | bool | |
needTank | bool | |
needHealer | bool | |
needDamage | bool | |
isAutoAccept | bool | |
queueData | QueueSpecificInfo |
SocialQueuePlayerInfo structure
guid | WOWGUID | |
|---|---|---|
clubId | ClubId may be nil |