/
_pet.lua
35 lines (30 loc) · 1.2 KB
/
_pet.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
---@meta
---@diagnostic disable: duplicate-set-field
---@class pet
---@field Combat fun(): boolean Combat state
---@field Ghold fun(): boolean GHold state
---@field Hold fun(): boolean Hold state
---@field ReGroup fun(): boolean ReGroup state
---@field Stance fun(): string Returns the pet's current stance (e.g. FOLLOW, GUARD)
---@field Stop fun(): boolean Stop state
---@field Target spawn Returns the pet's current target
---@field Taunt fun(): boolean Taunt state
---@field Focus fun(): boolean Focus state
---@field ID fun(): integer returns pet ID
local pet = {}
---Returns the slot number for the buff name
---@param buffname string Buffname
---@return integer Slotnumber
function pet.Buff(buffname) end
---Returns the buff name given the slot number
---@param slotnumber integer
---@return string Buffname
function pet.Buff(slotnumber)end
---Buff time remaining for pet buff given buff name, in milliseconds
---@param buffname string Buffname
---@return integer Time in miliseconds
function pet.BuffDuration(buffname)end
---Buff time remaining for pet buff given buff slot number, in milliseconds
---@param slotnumber integer Slotnumber
---@return integer Time in miliseconds
function pet.BuffDuration(slotnumber)end