v0.13.8

C_HousingBlueprint

namespaceavailable in: camelot

Status in wowlua

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

Functions

functionwhat it doesstatus
CanExportRoomReturns true if the specific room is allowed to be exported
(roomGUID: string): boolean
guessed
CanExportTypeFromCurrentLocationReturns true if the player's current location is a valid place to attempt to export a specific kind of blueprint
(type: HousingBlueprintType): boolean
guessed
CanImportTypeFromCurrentLocationReturns true if the player's current location is a valid place to attempt to import a specific kind of blueprint
(type: HousingBlueprintType): boolean
guessed
DeleteBlueprintDelete the specified owned blueprint; Listen for HousingBlueprintDeleteSuccess and HousingBlueprintDeleteFailure for results
(blueprintID: number)
guessed
ExportBlueprintSaves out a new Blueprint of the specified type, using the specified name, if available, based on where the player is currently standing (see C_HousingBlueprint.GetExportAvailability); Listen for HOUSING_BLUEPRINT_EXPORT_SUCCESS and HOUSING_BLUEPRINT_EXPORT_FAILURE for results
(type: HousingBlueprintType, name: string)
guessed
ExportRoomBlueprintSaves out a new Blueprint of the specified room, using the specified name, if available (see C_HousingBlueprint.GetExportAvailability); Listen for HOUSING_BLUEPRINT_EXPORT_SUCCESS and HOUSING_BLUEPRINT_EXPORT_FAILURE for results
(name: string, roomGUID: string)
guessed
GetBlueprintHyperlinkReturns a chat link to a house blueprint, or nothing. · by wowlua
(blueprintShareCode: string): string?
guessed
GetBlueprintTypeForCodeReturns what type of Blueprint the specified code is for; Will return HousingBlueprintType.None if code is invalid; Does NOT check whether the shareCode actually matches up to a real valid Blueprint
(shareCode: string): HousingBlueprintType
guessed
GetExportAvailabilityReturns success if the player can currently export Blueprints, or a specific error type (ex: invalid location or permissions)
(): HousingResult
guessed
GetFeatureAvailabilityReturns success if Blueprints as a feature is currently enabled and available
(): HousingResult
guessed
GetImportAvailabilityReturns success if the player can currently import Blueprints, or a specific error type (ex: invalid location or permissions)
(): HousingResult
guessed
ImportBlueprintImports the specified blueprint, if available (see IsImportAvailable and CanImportTypeFromCurrentLocation); Listen for HousingBlueprintImportSuccess and HousingBlueprintImportFailure for results
(shareCode: string)
guessed
IsShareCodeValidReturns true if the string matches the valid expected format for a Blueprint Share Code; Does NOT check whether the shareCode actually matches up to a real valid Blueprint
(shareCode: string): boolean
guessed
RenameBlueprintRename the specified owned blueprint to the specified name; Listen for HousingBlueprintRenameSuccess and HousingBlueprintRenameFailure for results
(blueprintID: number, newName: string)
guessed
RequestBlueprintCollectionRequest the full list of all of the player's Blueprints; This is async, either the HOUSING_BLUEPRINT_COLLECTION_RECEIVED or HOUSING_BLUEPRINT_COLLECTION_FAILURE event will eventually be fired as a result
()
guessed
RequestBlueprintContentsRequest the full contents of a specific Blueprint, in context of the current owned plot or house (if any); This is async as content info includes dynamic data from the server, either the HOUSING_BLUEPRINT_CONTENTS_RECEIVED or HOUSING_BLUEPRINT_CONTENTS_FAILURE event will eventually be fired as a result; Calling this again before a prior request has finished will cancel the prior request
(shareCode: string)
guessed
RequestBlueprintContentsForContextRequest the full contents of a specific Blueprint, either in context of a specific owned House or plot, or explicitly outside of any specific context; Typically used to update missing requirement info from previously-retrieved contents; See RequestBlueprintContents for other notes
(shareCode: string, optionalHouseGUID: string?)
guessed
StartImportRoomBlueprintStart the process of importing a Room Blueprint. This will lead to Layout Mode being opened, so the player can then select an available door to attach the room to
(shareCode: string)
guessed
UpdateBlueprintStringFromInputReturns the blueprint share code read from the entered text, or nothing. · by wowlua
(inputShareCode: string): 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
HOUSING_BLUEPRINTS_AVAILABILITY_CHANGEDno payloadnot implemented
HOUSING_BLUEPRINT_COLLECTION_FAILUREresult: HousingResultnot implemented
HOUSING_BLUEPRINT_COLLECTION_RECEIVEDcollection: HousingBlueprintCollectionnot implemented
HOUSING_BLUEPRINT_CONTENTS_FAILUREblueprintShareCode: string, result: HousingResultnot implemented
HOUSING_BLUEPRINT_CONTENTS_RECEIVEDcontentInfo: HousingBlueprintContentInfonot implemented
HOUSING_BLUEPRINT_DELETE_FAILUREblueprintID: number, result: HousingResultnot implemented
HOUSING_BLUEPRINT_DELETE_SUCCESSblueprintID: numbernot implemented
HOUSING_BLUEPRINT_EXPORT_FAILUREresult: HousingResultnot implemented
HOUSING_BLUEPRINT_EXPORT_SUCCESSblueprintShareCode: stringnot implemented
HOUSING_BLUEPRINT_IMPORT_FAILUREresult: HousingResultnot implemented
HOUSING_BLUEPRINT_IMPORT_STARTEDno payloadnot implemented
HOUSING_BLUEPRINT_IMPORT_SUCCESSno payloadnot implemented
HOUSING_BLUEPRINT_RENAME_FAILUREblueprintID: number, result: HousingResultnot implemented
HOUSING_BLUEPRINT_RENAME_SUCCESSblueprintID: number, name: stringnot implemented

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

sources

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