v0.13.8

C_EditMode

namespaceavailable in: camelot

Status in wowlua

12 functions: 3 implemented, 2 recorded, 7 guessed. 1 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ConvertLayoutInfoToStringConverts an Edit Mode layout into a string that can be shared and imported. · by wowlua
(layoutInfo: EditModeLayoutInfo): string
guessed
ConvertStringToLayoutInfoConverts a shared Edit Mode layout string back into a layout, or returns nothing if the string is not a valid layout. · by wowlua
(layoutInfoAsString: string): EditModeLayoutInfo?
guessed
GetAccountSettingsThese reflect the options checked within the Edit Mode dialog.
(): EditModeSettingInfo[]
recorded
GetEditModeDefaultLayoutReturns the index of the default Edit Mode layout. · by wowlua
(): number
recorded
GetLayoutsReturns the layouts of any custom layouts that exist. It does not return the layouts of the default layouts.
(): EditModeLayouts
implemented
IsValidLayoutNameWhether the name can be used for an Edit Mode layout. · by wowlua
(name: string): boolean
guessed
OnEditModeExitTells the game that Edit Mode was closed. · by wowlua
()
guessed
OnLayoutAddedTells the game that an Edit Mode layout was added. · by wowlua
(addedLayoutIndex: number, activateNewLayout: boolean, isLayoutImported: boolean)
guessed
OnLayoutDeletedTells the game that an Edit Mode layout was deleted. · by wowlua
(deletedLayoutIndex: number)
guessed
SaveLayoutsSaves the Edit Mode layouts and which one is active. · by wowlua
(saveInfo: EditModeLayouts)
implemented
SetAccountSettingSets an account-wide Edit Mode setting. · by wowlua
(setting: EditModeAccountSetting, value: number)
guessed
SetActiveLayoutMakes the Edit Mode layout at the given index the active one. · by wowlua
(activeLayout: number)
implemented

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

Events

eventpayloadfired by the emulator
EDIT_MODE_LAYOUTS_UPDATEDlayoutInfo: EditModeLayouts, reconcileLayouts: booleanimplemented

Structures

  • EditModeAnchorInfo · point, relativeTo, relativePoint, offsetX, offsetY
  • EditModeLayoutInfo · layoutName, layoutType, interfaceStyle?, systems
  • EditModeLayouts · layouts, activeLayout
  • EditModeSettingInfo · setting, value
  • EditModeSystemInfo · system, systemIndex?, anchorInfo, anchorInfo2?, settings, isInDefaultPosition

sources

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