ItemStackο
Inherits: Resource
There is currently no description for this class. Please help us by contributing one!
Propertiesο
|
|
|
|
|
|
|
|
Methodsο
|
contains(item: |
void |
deserialize(data: |
|
has_valid() const |
|
serialize() const |
Signalsο
updated() π
There is currently no description for this signal. Please help us by contributing one!
Property Descriptionsο
int
amount = 0
π
void set_amount(value:
int
)int
get_amount()
There is currently no description for this property. Please help us by contributing one!
String
item_id = ""
π
void set_item_id(value:
String
)String
get_item_id()
Defining which item_id is used from InventoryDatabase.items.
Dictionary
properties = {}
π
void set_properties(value:
Dictionary
)Dictionary
get_properties()
Custom properties of this item. Example βdurabilityβ.
Method Descriptionsο
bool
contains(item: String
, amount: int
= 1) const π
There is currently no description for this method. Please help us by contributing one!
void deserialize(data: Array
) π
There is currently no description for this method. Please help us by contributing one!
bool
has_valid() const π
There is currently no description for this method. Please help us by contributing one!
Array
serialize() const π
There is currently no description for this method. Please help us by contributing one!