mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
update doc/*/scripting/builtins/libapp.md
This commit is contained in:
parent
614d5f4ae4
commit
eb1a955483
2 changed files with 24 additions and 0 deletions
|
|
@ -168,3 +168,15 @@ 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.
|
||||
|
|
|
|||
|
|
@ -168,3 +168,15 @@ app.create_memory_device(
|
|||
```
|
||||
|
||||
Создаёт файловую систему в памяти.
|
||||
|
||||
```lua
|
||||
app.get_content_sources() -> table<string>
|
||||
```
|
||||
|
||||
Возвращает список источников контента (путей), в порядке убывания приоритета.
|
||||
|
||||
```lua
|
||||
app.set_content_sources(sources: table<string>)
|
||||
```
|
||||
|
||||
Устанавливает список источников контента (путей). Указывается в порядке убывания приоритета.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue