# LuaCurveObjectBaseAPI (widget methods): 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/LuaCurveObjectBaseAPI

## Functions

### GetType

```lua
curveType = self:GetType()
```

Returns the configured type of the curve.

Returns:
- `curveType`: LuaCurveType

### HasSecretValues

```lua
hasSecretValues = self:HasSecretValues()
```

Returns true if the curve has been configured with any secret values. Curves with secret values always produce secret results when evaluated.

Returns:
- `hasSecretValues`: bool

### SetType

```lua
self:SetType(type)
```

Changes the evaluation type of the curve.

Arguments:
- `type`: LuaCurveType

---
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."
