-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.lua
More file actions
90 lines (69 loc) · 2.83 KB
/
types.lua
File metadata and controls
90 lines (69 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
-- types.lua
-- Contains EmmyLua type definitions for the addon's data structures.
-- DATA V1 - REV07
-- Definiciones de tipos para emmyLua.
---@class MyCheatSheetStatGroup
---@field stats table<number, string>
---@field operator string?
---@field percent number?
---@class MyCheatSheetItemRow
---@field itemIDs table<number, number>
---@class MyCheatSheetInventoryItems
---@field bestInSlot MyCheatSheetItemRow
---@field alternatives MyCheatSheetItemRow
---@class MyCheatSheetWeapons : MyCheatSheetInventoryItems
---@class MyCheatSheetTrinkets : MyCheatSheetInventoryItems
---@class MyCheatSheetTier
---@field bestInSlot MyCheatSheetItemRow
---@class MyCheatSheetContent
---@field statsPriority table<number, MyCheatSheetStatGroup>
---@class MyCheatSheetSpecializationData
---@field author string # Autor de la hoja
---@field updated string # Fecha de actualización (yyyy-mm-dd)
---@field patchVersion string # Versión del parche WoW (11.2.0)
---@field weapons MyCheatSheetWeapons
---@field trinkets MyCheatSheetTrinkets
---@field consumables MyCheatSheetItemRow
---@field tier MyCheatSheetTier
---@field statsByContent table<string, MyCheatSheetContent>
---@class AuthorData
---@field author string # Autor de la hoja
---@field updated string # Fecha de actualización (yyyy-mm-dd)
---@field patchVersion string # Versión del parche WoW (11.2.0)
-- CORE
---@class profiles Profiles
---@field Default ProfileV1
---@class MyCheatSheet : AceAddon
---@field selectedClass number
---@field selectedSpec number
---@field selectedContent string
---@field defaults table
---@field db AceDB
---@field customOverrides table<number, MyCheatSheetSpecializationData>
---@field profilekeys table
---@field lastValidation table
---@field profiles Profiles
-- DATA V2
---@class MyCheatSheetContentV2
---@field statsPriority table<number, MyCheatSheetStatGroup>
---@field weapons MyCheatSheetWeapons
---@field trinkets MyCheatSheetTrinkets
---@class MyCheatSheetSpecializationDataV2
---@field content MyCheatSheetContentV2
---@field consumables MyCheatSheetItemRow
---@field tier MyCheatSheetTier
-- CONFIG
---@class FramePosition
---@field point string -- Anclaje principal ("CENTER", "TOPLEFT", etc)
---@field x number -- Offset X relativo al punto
---@field y number -- Offset Y relativo al punto
---@class ProfileV1
---@field ui table # Configuración de la UI
---@field ui.position FramePosition # Posición del frame principal
---@field layout table # Layout de la UI
---@field layout.sections table<number, table> # Secciones del layout
---@field advanced.debugMode boolean # Modo de depuración avanzado
---@class ProfileV2 : ProfileV1
---@field ui.showDataEditButton boolean # Mostrar botón de edición de datos
---@field ui.showLayoutEditButton boolean # Mostrar botón de edición de layout
-- types.lua -- fin del archivo