mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge branch 'main' into debugging-client
This commit is contained in:
commit
0760a5b552
7 changed files with 102 additions and 10 deletions
|
|
@ -173,3 +173,21 @@ app.create_memory_device(
|
|||
```
|
||||
|
||||
Creates an in-memory filesystem.
|
||||
|
||||
```lua
|
||||
app.get_content_sources() -> table<string>
|
||||
```
|
||||
|
||||
Returns a list of content sources (paths), in descending priority order.
|
||||
|
||||
``lua
|
||||
app.set_content_sources(sources: table<string>)
|
||||
```
|
||||
|
||||
Sets a list of content sources (paths). Specified in descending priority order.
|
||||
|
||||
``lua
|
||||
app.reset_content_sources()
|
||||
```
|
||||
|
||||
Resets content sources.
|
||||
|
|
|
|||
|
|
@ -174,3 +174,20 @@ app.create_memory_device(
|
|||
|
||||
Создаёт файловую систему в памяти.
|
||||
|
||||
```lua
|
||||
app.get_content_sources() -> table<string>
|
||||
```
|
||||
|
||||
Возвращает список источников контента (путей), в порядке убывания приоритета.
|
||||
|
||||
```lua
|
||||
app.set_content_sources(sources: table<string>)
|
||||
```
|
||||
|
||||
Устанавливает список источников контента (путей). Указывается в порядке убывания приоритета.
|
||||
|
||||
```lua
|
||||
app.reset_content_sources()
|
||||
```
|
||||
|
||||
Сбрасывает список источников контента.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue