mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
146 lines
4.2 KiB
XML
146 lines
4.2 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<class name="ItemInstance" inherits="Resource" version="3.5">
|
||
|
<brief_description>
|
||
|
Runtime information for an item.
|
||
|
</brief_description>
|
||
|
<description>
|
||
|
</description>
|
||
|
<tutorials>
|
||
|
</tutorials>
|
||
|
<methods>
|
||
|
<method name="_from_dict" qualifiers="virtual">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="dict" type="Dictionary" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="_get_description" qualifiers="virtual">
|
||
|
<return type="String" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="_to_dict" qualifiers="virtual">
|
||
|
<return type="Dictionary" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="add_item_stat_modifier">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="stat_id" type="int" />
|
||
|
<argument index="1" name="base_mod" type="int" />
|
||
|
<argument index="2" name="bonus_mod" type="int" />
|
||
|
<argument index="3" name="percent_mod" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="clear_item_stat_modifiers">
|
||
|
<return type="void" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="from_dict">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="dict" type="Dictionary" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="get_description">
|
||
|
<return type="String" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="remove_item_stat_modifier">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_get_base_mod" qualifiers="const">
|
||
|
<return type="float" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_get_bonus_mod" qualifiers="const">
|
||
|
<return type="float" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_get_count" qualifiers="const">
|
||
|
<return type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_get_percent_mod" qualifiers="const">
|
||
|
<return type="float" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_get_stat_id" qualifiers="const">
|
||
|
<return type="int" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_set_base_mod">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<argument index="1" name="value" type="float" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_set_bonus_mod">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<argument index="1" name="value" type="float" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_set_percent_mod">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<argument index="1" name="value" type="float" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="stat_modifier_set_stat_id">
|
||
|
<return type="void" />
|
||
|
<argument index="0" name="index" type="int" />
|
||
|
<argument index="1" name="value" type="int" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="to_dict">
|
||
|
<return type="Dictionary" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
</methods>
|
||
|
<members>
|
||
|
<member name="charges" type="int" setter="set_charges" getter="get_charges" default="-1">
|
||
|
</member>
|
||
|
<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>
|
||
|
<member name="stat_modifiers" type="Array" setter="stat_modifiers_set" getter="stat_modifiers_get" default="[ ]">
|
||
|
</member>
|
||
|
</members>
|
||
|
<signals>
|
||
|
<signal name="stack_charges_changed">
|
||
|
<argument index="0" name="item" type="ItemInstance" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</signal>
|
||
|
<signal name="stack_size_changed">
|
||
|
<argument index="0" name="item" type="ItemInstance" />
|
||
|
<description>
|
||
|
</description>
|
||
|
</signal>
|
||
|
</signals>
|
||
|
<constants>
|
||
|
</constants>
|
||
|
</class>
|