Optimized Docs (#7)

Authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
Dennis Ploeger
2021-06-22 23:06:20 +02:00
committed by GitHub
parent d5a0022b7b
commit 58d880101d
111 changed files with 6362 additions and 801 deletions

47
docs/api/ESCInventory.md Normal file
View File

@@ -0,0 +1,47 @@
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
# ESCInventory
**Extends:** [Control](../Control)
## Description
Manages the inventory on the GUI connected to the inventory_ui_container
variable
## Property Descriptions
### inventory\_ui\_container
```gdscript
export var inventory_ui_container = ""
```
Define the actual container node to add items as children of.
Should be a Container.
### items\_ids\_in\_inventory
```gdscript
var items_ids_in_inventory: Dictionary
```
A registry of inventory ESCInventoryItem nodes
## Method Descriptions
### add\_new\_item\_by\_id
```gdscript
func add_new_item_by_id(item_id: String) -> void
```
add item to Inventory UI using its id set in its scene
### remove\_item\_by\_id
```gdscript
func remove_item_by_id(item_id: String) -> void
```
remove item fromInventory UI using its id set in its scene