foundation-library-functions
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
foundation-library-functions [2020/05/22 12:18] – created maxime | foundation-library-functions [2021/12/09 10:45] – maxime | ||
---|---|---|---|
Line 16: | Line 16: | ||
'' | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== isModLoaded ===== | ||
+ | |||
+ | Checks if a mod is already loaded, for soft dependencies purposes | ||
+ | |||
+ | Returns '' | ||
+ | |||
+ | '' | ||
^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
Line 42: | Line 55: | ||
'' | '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== createData ===== | ||
+ | |||
+ | Creates a new instance of a data type | ||
+ | |||
+ | '' | ||
+ | |||
+ | ^ Name ^ Type ^ Description ^ | ||
+ | | //'' | ||
+ | |||
+ | ==== Example ==== | ||
+ | |||
+ | <code lua> | ||
+ | local instanceData = { | ||
+ | DataType = " | ||
+ | ... | ||
+ | } | ||
+ | myMod: | ||
+ | </ |
foundation-library-functions.txt · Last modified: 2023/09/14 11:32 by mathieu