Skip to content

Commit

Permalink
added getSettingValue for float (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoNyaa authored Dec 27, 2024
1 parent 971bc94 commit 7bc2c63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mods/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ Float settings are just like int settings, but for floats!
}
```

```cpp
auto value = Mod::get()->getSettingValue<double>("float-setting-example");
```

---

### String (`string`)
Expand Down

0 comments on commit 7bc2c63

Please sign in to comment.