C_EditMode
namespaceavailable in: camelotStatus in wowlua
12 functions: 3 implemented, 2 recorded, 7 guessed. 1 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
ConvertLayoutInfoToString | Converts an Edit Mode layout into a string that can be shared and imported. · by wowlua(layoutInfo: EditModeLayoutInfo): string | guessed |
ConvertStringToLayoutInfo | Converts 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 |
GetAccountSettings | These reflect the options checked within the Edit Mode dialog.(): EditModeSettingInfo[] | recorded |
GetEditModeDefaultLayout | Returns the index of the default Edit Mode layout. · by wowlua(): number | recorded |
GetLayouts | Returns the layouts of any custom layouts that exist. It does not return the layouts of the default layouts.(): EditModeLayouts | implemented |
IsValidLayoutName | Whether the name can be used for an Edit Mode layout. · by wowlua(name: string): boolean | guessed |
OnEditModeExit | Tells the game that Edit Mode was closed. · by wowlua() | guessed |
OnLayoutAdded | Tells the game that an Edit Mode layout was added. · by wowlua(addedLayoutIndex: number, activateNewLayout: boolean, isLayoutImported: boolean) | guessed |
OnLayoutDeleted | Tells the game that an Edit Mode layout was deleted. · by wowlua(deletedLayoutIndex: number) | guessed |
SaveLayouts | Saves the Edit Mode layouts and which one is active. · by wowlua(saveInfo: EditModeLayouts) | implemented |
SetAccountSetting | Sets an account-wide Edit Mode setting. · by wowlua(setting: EditModeAccountSetting, value: number) | guessed |
SetActiveLayout | Makes 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
| event | payload | fired by the emulator |
|---|---|---|
EDIT_MODE_LAYOUTS_UPDATED | layoutInfo: EditModeLayouts, reconcileLayouts: boolean | implemented |
Structures
EditModeAnchorInfo· point, relativeTo, relativePoint, offsetX, offsetYEditModeLayoutInfo· layoutName, layoutType, interfaceStyle?, systemsEditModeLayouts· layouts, activeLayoutEditModeSettingInfo· setting, valueEditModeSystemInfo· 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.