Skip to content

Commit 7bc2c63

Browse files
authored
added getSettingValue for float (#54)
1 parent 971bc94 commit 7bc2c63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mods/settings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ Float settings are just like int settings, but for floats!
215215
}
216216
```
217217

218+
```cpp
219+
auto value = Mod::get()->getSettingValue<double>("float-setting-example");
220+
```
221+
218222
---
219223

220224
### String (`string`)

0 commit comments

Comments
 (0)