foundation-library-functions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| foundation-library-functions [2026/08/03 17:03] – maxime | foundation-library-functions [2026/10/05 16:19] (current) – maxime | ||
|---|---|---|---|
| Line 55: | Line 55: | ||
| '' | '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== isDlcEnabled ===== | ||
| + | |||
| + | Checks if a DLC is enabled | ||
| + | |||
| + | '' | ||
| + | |||
| + | ^ Name ^ Type ^ Description ^ | ||
| + | | //'' | ||
| + | |||
| + | ==== Example ==== | ||
| + | |||
| + | <code lua> | ||
| + | local isEnabled = foundation.isDlcEnabled(" | ||
| + | </ | ||
| ---- | ---- | ||
| Line 62: | Line 79: | ||
| Creates a new instance of a data type | Creates a new instance of a data type | ||
| - | '' | + | '' |
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| Line 74: | Line 91: | ||
| ... | ... | ||
| } | } | ||
| - | foundation.createData(instanceData) | + | local newData = foundation.createData(instanceData) |
| </ | </ | ||
| Line 81: | Line 98: | ||
| ===== createAsset ===== | ===== createAsset ===== | ||
| - | Creates a new instance of an asset type | + | Creates a new runtime |
| - | '' | + | '' |
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| - | | //'' | + | | //'' |
| ==== Example ==== | ==== Example ==== | ||
| Line 95: | Line 112: | ||
| ... | ... | ||
| } | } | ||
| - | foundation.createAsset(assetData) | + | local newAsset = foundation.createAsset(assetData) |
| </ | </ | ||
foundation-library-functions.1785790993.txt.gz · Last modified: 2026/08/03 17:03 by maxime
