# C_Ping: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_Ping

## Functions

### C_Ping.GetCooldownInfo

```lua
cooldownInfo = C_Ping.GetCooldownInfo()
```

Returns:
- `cooldownInfo`: PingCooldownInfo

### C_Ping.GetDefaultPingOptions

```lua
pingTypes = C_Ping.GetDefaultPingOptions()
```

Returns:
- `pingTypes`: PingTypeInfo[]

### C_Ping.GetTextureKitForType

```lua
uiTextureKitID = C_Ping.GetTextureKitForType(type)
```

Arguments:
- `type`: PingSubjectType

Returns:
- `uiTextureKitID`: textureKit

### C_Ping.IsPingSystemEnabled

```lua
isEnabled = C_Ping.IsPingSystemEnabled()
```

Returns:
- `isEnabled`: bool

### C_Ping.SendMacroPing

```lua
C_Ping.SendMacroPing(macroInfo)
```

Arguments:
- `macroInfo`: PingMacroInfo

### C_Ping.TogglePingListener

```lua
C_Ping.TogglePingListener(down)
```

Arguments:
- `down`: bool

## Events

### PING_SYSTEM_ERROR

Payload, after the event's name:
- `error`: cstring

## Tables

### PingTypeInfo (structure)

- `orderIndex`: number
- `type`: PingSubjectType
- `uiTextureKitID`: textureKit

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
