WowAddons

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

C_PartyInfo

53 functions, 32 events, 1 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_PartyInfo.AllowedToDoPartyConversion

allowed = C_PartyInfo.AllowedToDoPartyConversion(toRaid)

Arguments

toRaidbool

Returns

allowedbool

C_PartyInfo.CanFormCrossFactionParties

canFormCrossFactionParties = C_PartyInfo.CanFormCrossFactionParties()

Returns

canFormCrossFactionPartiesbool

C_PartyInfo.CanInvite

allowedToInvite = C_PartyInfo.CanInvite()

Returns

allowedToInvitebool

C_PartyInfo.CanStartInstanceAbandonVote

canStart = C_PartyInfo.CanStartInstanceAbandonVote()

Returns whether it's possible to start a vote at this time

Returns

canStartbool

C_PartyInfo.ChallengeModeRestrictionsActive

restrictionsActive = C_PartyInfo.ChallengeModeRestrictionsActive()

Returns

restrictionsActivebool

C_PartyInfo.ConfirmConvertToRaid

C_PartyInfo.ConfirmConvertToRaid()

Immediately convert to raid with no regard for potentially destructive actions.

C_PartyInfo.ConfirmInviteTravelPass

C_PartyInfo.ConfirmInviteTravelPass(targetName, targetGUID)

Arguments

targetNamecstring
targetGUIDWOWGUID

C_PartyInfo.ConfirmInviteUnit

C_PartyInfo.ConfirmInviteUnit(targetName)

Immediately invites the named unit to a party, with no regard for potentially destructive actions.

Arguments

targetNamecstring

C_PartyInfo.ConfirmLeaveParty

C_PartyInfo.ConfirmLeaveParty([category])

Immediately leave the party with no regard for potentially destructive actions

Arguments

categoryluaIndex may be nil

C_PartyInfo.ConfirmReadyCheck

C_PartyInfo.ConfirmReadyCheck(isReady)

Arguments

isReadybool

C_PartyInfo.ConfirmRequestInviteFromUnit

C_PartyInfo.ConfirmRequestInviteFromUnit(targetName, [tank], [healer], [dps])

Immediately request an invite into the target party, this is the confirmation function to call after RequestInviteFromUnit, or if you would like to skip the confirmation process.

Arguments

targetNamecstring
tankbool may be nil
healerbool may be nil
dpsbool may be nil

C_PartyInfo.ConvertToParty

C_PartyInfo.ConvertToParty()

C_PartyInfo.ConvertToRaid

C_PartyInfo.ConvertToRaid()

Usually this will convert to raid immediately. In some cases (e.g. PartySync) the user will be prompted to confirm converting to raid, because it's potentially destructive.

C_PartyInfo.DelveTeleportOut

C_PartyInfo.DelveTeleportOut()

C_PartyInfo.DemoteAssistant

C_PartyInfo.DemoteAssistant(name, [exactNameMatch])

Arguments

namecstring
exactNameMatchbool may be nil

C_PartyInfo.DoCountdown

success = C_PartyInfo.DoCountdown(seconds)

Arguments

secondsnumber

Returns

successbool

C_PartyInfo.DoReadyCheck

C_PartyInfo.DoReadyCheck()

C_PartyInfo.GetActiveCategories

categories = C_PartyInfo.GetActiveCategories()

May return nothing.

Returns

categoriesnumber[]

C_PartyInfo.GetAvailableLootMethods

methods = C_PartyInfo.GetAvailableLootMethods()

Returns

methodsLootMethod[]

C_PartyInfo.GetInstanceAbandonShutdownTime

durationSeconds, timeLeftSeconds = C_PartyInfo.GetInstanceAbandonShutdownTime()

Returns the total duration of the shutdown time after a vote passes and how much time is left before it ends

Returns

durationSecondsnumber default 0
timeLeftSecondsnumber default 0

C_PartyInfo.GetInstanceAbandonVoteCooldownTime

durationSeconds, timeLeftSeconds = C_PartyInfo.GetInstanceAbandonVoteCooldownTime()

Returns the total duration of the abandon vote cooldown and how much time is left before it ends

May return nothing.

Returns

durationSecondsnumber default 0
timeLeftSecondsnumber default 0

C_PartyInfo.GetInstanceAbandonVoteRequirements

votesRequired, keystoneOwnerVoteWeight = C_PartyInfo.GetInstanceAbandonVoteRequirements()

Returns values controlling the vote

Returns

votesRequirednumber default 0
keystoneOwnerVoteWeightnumber default 0

C_PartyInfo.GetInstanceAbandonVoteResponse

response = C_PartyInfo.GetInstanceAbandonVoteResponse()

Returns how the player voted, nil for not yet

Returns

responsebool may be nil

C_PartyInfo.GetInstanceAbandonVoteTime

durationSeconds, timeLeftSeconds = C_PartyInfo.GetInstanceAbandonVoteTime()

Returns the total duration of the vote and how much time is left before it ends

Returns

durationSecondsnumber default 0
timeLeftSecondsnumber default 0

C_PartyInfo.GetInviteConfirmationInvalidQueues

invalidQueues = C_PartyInfo.GetInviteConfirmationInvalidQueues(inviteGUID)

May return nothing.

Arguments

inviteGUIDWOWGUID

Returns

invalidQueuesQueueSpecificInfo[]

C_PartyInfo.GetInviteReferralInfo

outReferredByGuid, outReferredByName, outRelationType, outIsQuickJoin, outClubId = C_PartyInfo.GetInviteReferralInfo(inviteGUID)

May return nothing.

Arguments

inviteGUIDWOWGUID

Returns

outReferredByGuidWOWGUID
outReferredByNamecstring
outRelationTypePartyRequestJoinRelation
outIsQuickJoinbool
outClubIdClubId

C_PartyInfo.GetLootMethod

method, masterLootPartyID, masterLooterRaidID = C_PartyInfo.GetLootMethod()

Returns

methodLootMethod
masterLootPartyIDnumber may be nil
masterLooterRaidIDnumber may be nil

C_PartyInfo.GetLootMethodStyle

methodStyle = C_PartyInfo.GetLootMethodStyle()

Returns

methodStyleLootMethodStyles

C_PartyInfo.GetMinItemLevel

minItemLevel, playerNameWithLowestItemLevel = C_PartyInfo.GetMinItemLevel(avgItemLevelCategory)

Arguments

avgItemLevelCategoryAvgItemLevelCategoriesThe active party is always used

Returns

minItemLevelnumber
playerNameWithLowestItemLevelcstring

C_PartyInfo.GetMinLevel

minLevel = C_PartyInfo.GetMinLevel([category])

Arguments

categoryluaIndex may be nilIf not provided, the active party is used

Returns

minLevelnumber

C_PartyInfo.GetNumInstanceAbandonGroupVoteResponses

count = C_PartyInfo.GetNumInstanceAbandonGroupVoteResponses()

Returns how many players have voted either way

Returns

countnumber

C_PartyInfo.GetRestrictPings

restrictTo = C_PartyInfo.GetRestrictPings()

Returns

restrictToRestrictPingsTo

C_PartyInfo.InviteUnit

C_PartyInfo.InviteUnit(targetName)

Attempt to invite the named unit to a party, requires confirmation in some cases (e.g. the party will convert to a raid, or if there is a party sync in progress).

Arguments

targetNamecstring

C_PartyInfo.IsChallengeModeActive

active = C_PartyInfo.IsChallengeModeActive()

Returns

activebool

C_PartyInfo.IsChallengeModeKeystoneOwner

isKeystoneOwner = C_PartyInfo.IsChallengeModeKeystoneOwner()

Returns

isKeystoneOwnerbool

C_PartyInfo.IsCrossFactionParty

isCrossFactionParty = C_PartyInfo.IsCrossFactionParty([category])

Arguments

categoryluaIndex may be nilIf not provided, the active party is used

Returns

isCrossFactionPartybool

C_PartyInfo.IsDelveComplete

isDelveComplete = C_PartyInfo.IsDelveComplete()

Returns

isDelveCompletebool

C_PartyInfo.IsDelveInProgress

isDelveComplete = C_PartyInfo.IsDelveInProgress()

Returns

isDelveCompletebool

C_PartyInfo.IsGUIDInGroup

isInGroup = C_PartyInfo.IsGUIDInGroup(guid, [category])

Arguments

guidWOWGUID
categoryluaIndex may be nilIf not provided, the active party is used

Returns

isInGroupbool

C_PartyInfo.IsLootMethodAvailable

available = C_PartyInfo.IsLootMethodAvailable(method)

Arguments

methodLootMethod

Returns

availablebool

C_PartyInfo.IsPartyFull

isFull = C_PartyInfo.IsPartyFull([category])

Arguments

categoryluaIndex may be nilIf not provided, the active party is used

Returns

isFullbool

C_PartyInfo.IsPartyInJailersTower

isPartyInJailersTower = C_PartyInfo.IsPartyInJailersTower()

Returns

isPartyInJailersTowerbool

C_PartyInfo.IsPartyWalkIn

isPartyWalkIn = C_PartyInfo.IsPartyWalkIn()

Returns

isPartyWalkInbool

C_PartyInfo.LeaveParty

C_PartyInfo.LeaveParty([category])

Usually this will leave the party immediately. In some cases (e.g. PartySync) the user will be prompted to confirm leaving the party, because it's potentially destructive

Arguments

categoryluaIndex may be nil

C_PartyInfo.PromoteToAssistant

C_PartyInfo.PromoteToAssistant(name, [exactNameMatch])

Arguments

namecstring
exactNameMatchbool may be nil

C_PartyInfo.PromoteToLeader

C_PartyInfo.PromoteToLeader(name, [exactNameMatch])

Arguments

namecstring
exactNameMatchbool may be nil

C_PartyInfo.RequestInviteFromUnit

C_PartyInfo.RequestInviteFromUnit(targetName, [tank], [healer], [dps])

Attempt to request an invite into the target party, requires confirmation in some cases (e.g. there is a party sync in progress).

Arguments

targetNamecstring
tankbool may be nil
healerbool may be nil
dpsbool may be nil

C_PartyInfo.SetEveryoneIsAssistant

updated = C_PartyInfo.SetEveryoneIsAssistant(isAssistant)

Arguments

isAssistantbool

Returns

updatedbool

C_PartyInfo.SetInstanceAbandonVoteResponse

C_PartyInfo.SetInstanceAbandonVoteResponse(response)

Vote on whether to abandon instance, true for yes, false for no

Arguments

responsebool

C_PartyInfo.SetLootMethod

success = C_PartyInfo.SetLootMethod(method, [lootMaster])

Arguments

methodLootMethod
lootMasterstring may be nil

Returns

successbool

C_PartyInfo.SetRestrictPings

C_PartyInfo.SetRestrictPings(restrictTo)

Arguments

restrictToRestrictPingsTo

C_PartyInfo.StartInstanceAbandonVote

C_PartyInfo.StartInstanceAbandonVote()

Start the vote

C_PartyInfo.UninviteUnit

C_PartyInfo.UninviteUnit(name, [reason], [exactNameMatch])

Arguments

namecstring
reasoncstring may be nil
exactNameMatchbool may be nil

Events

BNET_REQUEST_INVITE_CONFIRMATION

gameAccountIDnumber
questSessionActivebool
tankbool
healerbool
dpsbool

CONVERT_TO_RAID_CONFIRMATION

No payload.

ENTERED_DIFFERENT_INSTANCE_FROM_PARTY

No payload.

GROUP_FORMED

categorynumber
partyGUIDWOWGUID

GROUP_INVITE_CONFIRMATION

No payload.

GROUP_JOINED

categorynumber
partyGUIDWOWGUID

GROUP_LEFT

categorynumber
partyGUIDWOWGUID

GROUP_ROSTER_UPDATE

No payload.

INSTANCE_ABANDON_VOTE_FINISHED

votePassedbool

INSTANCE_ABANDON_VOTE_STARTED

No payload.

INSTANCE_ABANDON_VOTE_UPDATED

No payload.

INSTANCE_BOOT_START

No payload.

INSTANCE_BOOT_STOP

No payload.

INSTANCE_GROUP_SIZE_CHANGED

No payload.

INVITE_TO_PARTY_CONFIRMATION

targetNamecstring
willConvertToRaidbool
questSessionActivebool

INVITE_TRAVEL_PASS_CONFIRMATION

targetNamecstring
targetGUIDWOWGUID
willConvertToRaidbool
questSessionActivebool

LEAVE_PARTY_CONFIRMATION

reasonLeavePartyConfirmReason

PARTY_INVITE_CANCEL

No payload.

PARTY_INVITE_REQUEST

namecstring
isTankbool
isHealerbool
isDamagebool
isNativeRealmbool
isCrossShardbool
allowMultipleRolesbool
inviterGUIDWOWGUID
questSessionActivebool

PARTY_LEADER_CHANGED

No payload.

PARTY_LFG_RESTRICTED

No payload.

PARTY_LOOT_METHOD_CHANGED

No payload.

PARTY_MEMBER_DISABLE

unitTargetUnitTokenVariant

PARTY_MEMBER_ENABLE

unitTargetUnitTokenVariant

PLAYER_DIFFICULTY_CHANGED

No payload.

PLAYER_ROLES_ASSIGNED

No payload.

RAID_ROSTER_UPDATE

No payload.

READY_CHECK

initiatorNamecstring
readyCheckTimeLefttime_t

READY_CHECK_CONFIRM

unitTargetUnitTokenVariant
isReadybool

READY_CHECK_FINISHED

preemptedbool

REQUEST_INVITE_CONFIRMATION

targetNamecstring
partyLevelLinknumber
questSessionActivebool
tankbool may be nil
healerbool may be nil
dpsbool may be nil

VOTE_KICK_REASON_NEEDED

namecstring
resultGUIDWOWGUID

Tables

Enum.LeavePartyConfirmReason enumeration

QuestSync0
RestrictedChallengeMode1

WowAddons가 필요해요

Windows, macOS, Linux용 무료 앱: 클릭 한 번으로 애드온을 게임에 넣고 최신 상태로 유지해요. 한 번 실행한 뒤 다시 설치를 눌러요.

WowAddons는 컴퓨터에서 실행돼요. 컴퓨터에서 wowaddons.gg를 열어요.

Windows용 다운로드