v0.13.8

C_NeighborhoodInitiative

namespaceavailable in: camelot

Status in wowlua

20 functions: 0 implemented, 1 recorded, 19 guessed. 6 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AddTrackedInitiativeTaskTracks a neighborhood initiative task. · by wowlua
(initiativeTaskID: number)
guessed
GetActiveNeighborhoodReturns the GUID of the player's active neighborhood. · by wowlua
(): string
guessed
GetAvailableHouseXPReturns the house experience the player can still earn. · by wowlua
(): number
guessed
GetInitiativeActivityLogInfoReturns the activity log of the neighborhood initiative. · by wowlua
(): InitiativeActivityLogInfo?
guessed
GetInitiativeTaskChatLinkReturns a chat link to a neighborhood initiative task. · by wowlua
(initiativeTaskID: number): string
guessed
GetInitiativeTaskInfoReturns information about a neighborhood initiative task. · by wowlua
(initiativeTaskID: number): InitiativeTaskInfo?
guessed
GetInitiativeTaskRewardScalingReturns the reward scaling of a neighborhood initiative task for a number of items. · by wowlua
(taskID: number, numItems: number): number
guessed
GetNeighborhoodInitiativeInfoReturns information about the neighborhood initiative. · by wowlua
(): NeighborhoodInitiativeInfo?
guessed
GetRequiredLevelReturns the player level the neighborhood initiative requires. · by wowlua
(): number
guessed
GetTrackedInitiativeTasksReturns the tracked neighborhood initiative tasks. · by wowlua
(): InitiativeTasksTracked
recorded
IsInitiativeEnabledWhether the neighborhood initiative is available. · by wowlua
(): boolean
guessed
IsPlayerInNeighborhoodGroupWhether the player is in a group with their neighborhood. · by wowlua
(): boolean
guessed
IsViewingActiveNeighborhoodWhether the player is viewing their active neighborhood. · by wowlua
(): boolean
guessed
PlayerHasInitiativeAccessWhether the player has access to the neighborhood initiative. · by wowlua
(): boolean
guessed
PlayerMeetsRequiredLevelWhether the player has the level the neighborhood initiative requires. · by wowlua
(): boolean
guessed
RemoveTrackedInitiativeTaskStops tracking a neighborhood initiative task. · by wowlua
(initiativeTaskID: number)
guessed
RequestInitiativeActivityLogAsks the server for the neighborhood initiative's activity log. · by wowlua
()
guessed
RequestNeighborhoodInitiativeInfoAsks the server for the neighborhood initiative's information. · by wowlua
()
guessed
SetActiveNeighborhoodSets the player's active neighborhood. · by wowlua
(neighborhoodGUID: string)
guessed
SetViewingNeighborhoodSets the neighborhood the player is viewing. · by wowlua
(neighborhoodGUID: string)
guessed

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

Events

eventpayloadfired by the emulator
INITIATIVE_ACTIVITY_LOG_UPDATEDno payloadnot implemented
INITIATIVE_COMPLETEDinitiativeTitle: stringnot implemented
INITIATIVE_TASKS_TRACKED_LIST_CHANGEDinitiativeTaskID: number, added: booleannot implemented
INITIATIVE_TASKS_TRACKED_UPDATEDno payloadnot implemented
INITIATIVE_TASK_COMPLETEDtaskName: stringnot implemented
NEIGHBORHOOD_INITIATIVE_UPDATEDno payloadnot implemented

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

Structures

  • InitiativeActivityLogEntry · taskID, playerName, taskName, completionTime, amount
  • InitiativeActivityLogInfo · isLoaded, neighborhoodGUID, nextUpdateTime, taskActivity
  • InitiativeMilestoneInfo · milestoneOrderIndex, requiredContributionAmount, rewards
  • InitiativeMilestoneRewardInfo · title, description, decorID, decorQuantity, favor, money, rewardQuestID
  • InitiativeTaskInfo · ID, taskName, description, progressContributionAmount, tracked, supersedes, timesCompleted, completed, inProgress, taskType, sortOrder, rewardQuestID, requirementsList, criteriaList
  • InitiativeTasksTracked · trackedIDs
  • NeighborhoodInitiativeInfo · isLoaded, neighborhoodGUID, initiativeID, currentCycleID, progressRequired, currentProgress, playerTotalContribution, duration, tasks, milestones, title, description

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (NeighborhoodInitiative system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.