-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.idehelper.lua
39 lines (30 loc) · 865 Bytes
/
.idehelper.lua
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
---
-- This class contains EmmyLua annotations to help
-- IDEs work with some external classes and types
---
---@class WoWUnit
---@field IsTrue fun(val: any)
---@field AreEqual fun(a: any, b: any)
---@field Replace fun(obj: table, key: any, val: any) | fun(key: any, val: any)
WoWUnit = nil
---@class BugGrabber
---@field RegisterCallback fun(obj: table, event: string, callback: function)
BugGrabber = nil
-- WoW frames
---@class Frame
---@class Texture
---@class ChatFrame: Frame
---@field AddMessage fun(self: self, msg: string)
DEFAULT_CHAT_FRAME = nil
-- WoW methods
---@type fun(unit: string): boolean
IsGuildMember = nil
-- Ace3 widgets
---@class Widget
---@field frame Frame
---@class Icon : Widget
---@class Label : Widget
---@class InteractiveLabel : Label
---@class CheckBox : Widget
---@class SimpleGroup : Widget
---@class FrameWidget : Widget