v0.13.8

C_Housing

namespaceavailable in: camelot

Status in wowlua

63 functions: 1 implemented, 4 recorded, 58 guessed. 39 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AcceptNeighborhoodOwnershipAccepts the offered ownership of a neighborhood. · by wowlua
()
guessed
CanEditCharterWhether the player can edit the neighborhood charter. · by wowlua
(): boolean
guessed
CanTakeReportScreenshotReturns the reason a screenshot cannot be taken to report a plot, or the value that means it can. · by wowlua
(plotIndex: number): InvalidPlotScreenshotReason
guessed
CreateGuildNeighborhoodCreates a guild neighborhood with the given name. · by wowlua
(neighborhoodName: string)
guessed
CreateNeighborhoodCharterCreates a neighborhood charter with the given name. · by wowlua
(neighborhoodName: string)
guessed
DeclineNeighborhoodOwnershipDeclines the offered ownership of a neighborhood. · by wowlua
()
guessed
DoesFactionMatchNeighborhoodWhether the player's faction matches the neighborhood's. · by wowlua
(neighborhoodGUID: string): boolean
guessed
EditNeighborhoodCharterChanges the name on the neighborhood charter. · by wowlua
(neighborhoodName: string)
guessed
GetCurrentHouseInfoReturns information about the house the player is in, or nothing. · by wowlua
(): HouseInfo?
guessed
GetCurrentHouseLevelFavorRequests the house's level and favor from the server. · by wowlua
(houseGuid: string)
guessed
GetCurrentHouseRefundAmountReturns the refund for giving up the current house. · by wowlua
(): number
guessed
GetCurrentNeighborhoodGUIDReturns the GUID of the neighborhood the player is in, or nothing. · by wowlua
(): string?
guessed
GetHouseLevelFavorForLevelReturns the favor needed to reach a house level. · by wowlua
(level: number): number
guessed
GetHouseLevelRewardsForLevelRequests the rewards for reaching a house level from the server. · by wowlua
(level: number)
guessed
GetHousingAccessFlagsReturns who may visit and use the player's house. · by wowlua
(): HouseSettingFlags
guessed
GetMaxHouseLevelReturns the highest house level. · by wowlua
(): number
guessed
GetNeighborhoodTextureSuffixReturns the texture name suffix of a neighborhood's map art. · by wowlua
(neighborhoodGUID: string): string
guessed
GetOthersOwnedHousesRequests the houses another player owns from the server. · by wowlua
(playerGUID: string?, bnetID: number?, isInPlayersGuild: boolean)
guessed
GetPlayerOwnedHousesRequests the houses the player owns from the server. · by wowlua
()
guessed
GetTrackedHouseGuidReturns the GUID of the tracked house, or nothing. · by wowlua
(): string?
recorded
GetUIMapIDForNeighborhoodReturns the UI map ID of a neighborhood, or nothing. · by wowlua
(neighborhoodGuid: string): number?
guessed
GetVisitCooldownInfoReturns the cooldown of visiting a house, or nothing. · by wowlua
(): SpellCooldownInfo?
guessed
HasHousingExpansionAccessWhether the account has access to player housing. · by wowlua
(): boolean
guessed
HouseFinderDeclineNeighborhoodInvitationDeclines the neighborhood invitation in the house finder. · by wowlua
()
guessed
HouseFinderIgnoreNeighborhoodHides a neighborhood from the house finder. · by wowlua
(neighborhoodGuid: string)
guessed
HouseFinderRequestNeighborhoodsRequests the house finder's list of neighborhoods from the server. · by wowlua
()
guessed
HouseFinderRequestReservationAndPortReserves a plot in a neighborhood and teleports there. · by wowlua
(neighborhoodGuid: string, plotID: number)
guessed
IsHousingMarketCartFullRemoveEnabledWhether the housing market cart can be emptied in one step. · by wowlua
(): boolean
guessed
IsHousingMarketEnabledWhether the housing market is available. · by wowlua
(): boolean
guessed
IsHousingMarketShopEnabledWhether the housing market shop is available. · by wowlua
(): boolean
guessed
IsHousingServiceEnabledWhether the housing service is available. · by wowlua
(): boolean
recorded
IsInsideHouseWhether the player is inside a house. · by wowlua
(): boolean
recorded
IsInsideHouseOrPlotWhether the player is inside a house or on a plot. · by wowlua
(): boolean
recorded
IsInsideOwnHouseWhether the player is inside their own house. · by wowlua
not in Blizzard's documentation
guessed
IsInsideOwnedHouseWhether the player is inside a house that has an owner. · by wowlua
(): boolean
guessed
IsInsideOwnedHouseOrPlotWhether the player is inside a house or on a plot that has an owner. · by wowlua
(): boolean
guessed
IsInsideOwnedPlotWhether the player is on a plot that has an owner. · by wowlua
(): boolean
guessed
IsInsidePlotWhether the player is on a plot. · by wowlua
(): boolean
guessed
IsOnNeighborhoodMapWhether the player is in a neighborhood. · by wowlua
(): boolean
implemented
LeaveHouseLeaves the house the player is in. · by wowlua
()
guessed
OnCharterConfirmationAcceptedTells the game that the neighborhood charter confirmation was accepted. · by wowlua
()
guessed
OnCharterConfirmationClosedTells the game that the neighborhood charter confirmation was closed. · by wowlua
()
guessed
OnCreateCharterNeighborhoodClosedTells the game that the window to create a charter neighborhood was closed. · by wowlua
()
guessed
OnCreateGuildNeighborhoodClosedTells the game that the window to create a guild neighborhood was closed. · by wowlua
()
guessed
OnHouseFinderClickPlotTells the game that a plot was clicked in the house finder. · by wowlua
(plotID: number)
guessed
OnRequestSignatureClickedTells the game that the button to request charter signatures was clicked. · by wowlua
()
guessed
OnSignCharterClickedSigns another player's neighborhood charter. · by wowlua
(charterOwnerGUID: string)
guessed
RelinquishHouseGives up ownership of a house. · by wowlua
(houseGuid: string)
guessed
RequestCurrentHouseInfoRequests information about the house the player is in from the server. · by wowlua
()
guessed
RequestHouseFinderNeighborhoodDataRequests a neighborhood's data for the house finder from the server. · by wowlua
(neighborhoodGuid: string, neighborhoodName: string)
guessed
RequestPlayerCharacterListRequests the player's character list from the server. · by wowlua
()
guessed
ResetHouseResets all contents of the house, based on the provided scope; API restricted to ensure this can't be triggered without the player getting ample notice and confirmation
(resetScope: HousingHouseScope)
guessed
ReturnAfterVisitingHouseReturns the player to where they were before visiting a house. · by wowlua
()
guessed
SaveHouseSettingsSaves who may visit and use a player's house. · by wowlua
(playerGUID: string, accessFlags: HouseSettingFlags)
guessed
SearchBNetFriendNeighborhoodsSearches a Battle.net friend's neighborhoods by name and returns whether the search started. · by wowlua
(bnetName: string): boolean
guessed
SearchBNetFriendNeighborhoodsByIDSearches a Battle.net friend's neighborhoods by account ID and returns whether the search started. · by wowlua
(bnetID: number): boolean
guessed
SetTrackedHouseGuidSets the tracked house, or clears it when omitted. · by wowlua
(trackedHouse: string?)
guessed
StartTutorialStarts the housing tutorial. · by wowlua
()
guessed
TeleportHomeTeleports the player to their house. · by wowlua
(neighborhoodGUID: string, houseGUID: string, plotID: number)
guessed
TryRenameNeighborhoodTries to rename the neighborhood. · by wowlua
(neighborhoodName: string)
guessed
ValidateCreateGuildNeighborhoodSizeAsks the server whether the guild is large enough to create a guild neighborhood. · by wowlua
()
guessed
ValidateNeighborhoodNameAsks the server whether the name can be used for a neighborhood. · by wowlua
(neighborhoodName: string)
guessed
VisitHouseVisits a house. · by wowlua
(neighborhoodGUID: string, houseGUID: string, plotID: number)
guessed

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

Events

eventpayloadfired by the emulator
ADD_NEIGHBORHOOD_CHARTER_SIGNATUREsignature: stringnot implemented
B_NET_NEIGHBORHOOD_LIST_UPDATEDresult: HousingResult, neighborhoodInfos: NeighborhoodInfo[]?not implemented
CLOSE_CHARTER_CONFIRMATION_UIno payloadnot implemented
CLOSE_CREATE_CHARTER_NEIGHBORHOOD_UIno payloadnot implemented
CLOSE_CREATE_GUILD_NEIGHBORHOOD_UIno payloadnot implemented
CREATE_NEIGHBORHOOD_RESULTresult: HousingResult, neighborhoodName: string?not implemented
CURRENT_HOUSE_INFO_RECIEVEDhouseInfo: HouseInfonot implemented
CURRENT_HOUSE_INFO_UPDATEDhouseInfo: HouseInfonot implemented
DECLINE_NEIGHBORHOOD_INVITATION_RESPONSEsuccess: booleannot implemented
FORCE_REFRESH_HOUSE_FINDERno payloadnot implemented
HOUSE_FINDER_NEIGHBORHOOD_DATA_RECIEVEDneighborhoodPlots: NeighborhoodPlotMapInfo[]not implemented
HOUSE_INFO_UPDATEDno payloadnot implemented
HOUSE_LEVEL_CHANGEDnewHouseLevelInfo: HouseLevelInfo?not implemented
HOUSE_LEVEL_FAVOR_UPDATEDhouseLevelFavor: HouseLevelFavornot implemented
HOUSE_PLOT_ENTEREDno payloadnot implemented
HOUSE_PLOT_EXITEDno payloadnot implemented
HOUSE_RESERVATION_RESPONSE_RECIEVEDresult: HousingResultnot implemented
HOUSE_RESET_COMPLETEDno payloadnot implemented
HOUSE_RESET_FAILEDresult: HousingResultnot implemented
HOUSING_MARKET_AVAILABILITY_UPDATEDno payloadnot implemented
HOUSING_SERVICES_AVAILABILITY_UPDATEDno payloadnot implemented
IGNORE_NEIGHBORHOOD_RESPONSEsuccess: boolean, neighborhoodGuid: stringnot implemented
MOVE_OUT_RESERVATION_UPDATEDno payloadnot implemented
NEIGHBORHOOD_GUILD_SIZE_VALIDATEDapproved: booleannot implemented
NEIGHBORHOOD_LIST_UPDATEDresult: HousingResult, neighborhoodInfos: NeighborhoodInfo[]?not implemented
NEIGHBORHOOD_NAME_VALIDATEDapproved: booleannot implemented
NEW_HOUSING_ITEM_ACQUIREDitemType: HousingItemToastType, itemName: string, icon: number?not implemented
OPEN_CHARTER_CONFIRMATION_UIneighborhoodName: string, locationName: stringnot implemented
OPEN_CREATE_CHARTER_NEIGHBORHOOD_UIlocationName: stringnot implemented
OPEN_CREATE_GUILD_NEIGHBORHOOD_UIlocationName: stringnot implemented
OPEN_NEIGHBORHOOD_CHARTERneighborhoodInfo: NeighborhoodInfo, signatures: string[], requiredSignatures: numbernot implemented
OPEN_NEIGHBORHOOD_CHARTER_SIGNATURE_REQUESTneighborhoodInfo: NeighborhoodInfonot implemented
PLAYER_CHARACTER_LIST_UPDATEDcharacterInfos: HouseOwnerCharacterInfo[], ownerListIndex: numbernot implemented
PLAYER_HOUSE_LIST_UPDATEDhouseInfos: HouseInfo[]not implemented
RECEIVED_HOUSE_LEVEL_REWARDSlevel: number, rewards: HouseLevelReward[]not implemented
REMOVE_NEIGHBORHOOD_CHARTER_SIGNATUREsignature: stringnot implemented
SHOW_NEIGHBORHOOD_OWNERSHIP_TRANSFER_DIALOGneighborhoodName: string, cosmeticOwnerName: stringnot implemented
TRACKED_HOUSE_CHANGEDtrackedHouse: string?not implemented
VIEW_HOUSES_LIST_RECIEVEDhouseInfos: HouseInfo[]not implemented

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

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (HousingUI 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.