2019-12-25 14:08:01 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-03-22 01:09:10 +01:00
|
|
|
<class name="ItemInstance" inherits="Reference" version="3.2">
|
2019-12-25 14:08:01 +01:00
|
|
|
<brief_description>
|
2019-12-25 18:46:41 +01:00
|
|
|
Runtime information for an item.
|
2019-12-25 14:08:01 +01:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_from_dict" qualifiers="virtual">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="dict" type="Dictionary">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-03-22 01:09:10 +01:00
|
|
|
<method name="_get_description" qualifiers="virtual">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-12-25 14:08:01 +01:00
|
|
|
<method name="_to_dict" qualifiers="virtual">
|
|
|
|
<return type="Dictionary">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_item_stat_modifier">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="modifier" type="ItemStatModifier">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear_item_stat_modifiers">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="from_dict">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="dict" type="Dictionary">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-03-22 01:09:10 +01:00
|
|
|
<method name="get_description">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-12-25 14:08:01 +01:00
|
|
|
<method name="get_item_stat_modifier">
|
|
|
|
<return type="ItemStatModifier">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="index" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-06-07 00:50:24 +02:00
|
|
|
<method name="stat_modifier_get_count" qualifiers="const">
|
2019-12-25 14:08:01 +01:00
|
|
|
<return type="int">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_item_stat_modifier">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="index" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="to_dict">
|
|
|
|
<return type="Dictionary">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2020-03-22 01:09:10 +01:00
|
|
|
<member name="charges" type="int" setter="set_charges" getter="get_charges" default="-1">
|
|
|
|
</member>
|
2019-12-25 14:08:01 +01:00
|
|
|
<member name="item_template" type="ItemTemplate" setter="set_item_template" getter="get_item_template">
|
|
|
|
</member>
|
|
|
|
<member name="stack_size" type="int" setter="set_stack_size" getter="get_stack_size" default="1">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<signals>
|
2020-03-22 01:09:10 +01:00
|
|
|
<signal name="stack_charges_changed">
|
|
|
|
<argument index="0" name="item" type="ItemInstance">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
2019-12-25 14:08:01 +01:00
|
|
|
<signal name="stack_size_changed">
|
|
|
|
<argument index="0" name="item" type="ItemInstance">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|