mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
391 lines
13 KiB
XML
391 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="EntityAI" inherits="Resource" version="3.5">
|
|
<brief_description>
|
|
You can implement AI for [Entities] with this.
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="_equip_con_fail" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_equip_con_success" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_equip_should_deny" qualifiers="virtual">
|
|
<return type="bool" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_equip_son_fail" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_equip_son_success" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_move" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_saura" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="data" type="AuraData" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_scast" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="info" type="SpellCastInfo" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_scategory_cooldown_added" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="id" type="int" />
|
|
<argument index="1" name="value" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_scategory_cooldown_removed" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="id" type="int" />
|
|
<argument index="1" name="value" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_scooldown_added" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="id" type="int" />
|
|
<argument index="1" name="value" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_scooldown_removed" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="id" type="int" />
|
|
<argument index="1" name="value" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sdamage" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="info" type="SpellDamageInfo" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sdeath" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="data" type="Entity" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sentity_resource_added" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="resource" type="EntityResource" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sentity_resource_removed" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="resource" type="EntityResource" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sgcd_finished" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sgcd_started" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="gcd" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sheal" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="info" type="SpellHealInfo" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_slevel_up" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="value" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_notification_sxp_gained" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Entity" />
|
|
<argument index="1" name="value" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_on_set_owner" qualifiers="virtual">
|
|
<return type="void" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_pet_move" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_pet_update" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="_update" qualifiers="virtual">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="equip_con_fail">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="equip_con_success">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="equip_should_deny">
|
|
<return type="bool" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="equip_son_fail">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="equip_son_success">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="equip_slot" type="int" />
|
|
<argument index="2" name="item" type="ItemInstance" />
|
|
<argument index="3" name="old_item" type="ItemInstance" />
|
|
<argument index="4" name="bag_slot" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_editor_description" qualifiers="const">
|
|
<return type="String" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="move">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_saura">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="data" type="AuraData" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_scast">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="info" type="SpellCastInfo" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_scategory_cooldown_added">
|
|
<return type="void" />
|
|
<argument index="0" name="category_cooldown" type="int" />
|
|
<argument index="1" name="arg1" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_scategory_cooldown_removed">
|
|
<return type="void" />
|
|
<argument index="0" name="category_cooldown" type="int" />
|
|
<argument index="1" name="arg1" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_scooldown_added">
|
|
<return type="void" />
|
|
<argument index="0" name="cooldown" type="int" />
|
|
<argument index="1" name="arg1" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_scooldown_removed">
|
|
<return type="void" />
|
|
<argument index="0" name="cooldown" type="int" />
|
|
<argument index="1" name="arg1" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sdamage">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="info" type="SpellDamageInfo" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sdeath">
|
|
<return type="void" />
|
|
<argument index="0" name="data" type="Node" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sentity_resource_added">
|
|
<return type="void" />
|
|
<argument index="0" name="resource" type="EntityResource" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sentity_resource_removed">
|
|
<return type="void" />
|
|
<argument index="0" name="resource" type="EntityResource" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sgcd_finished">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sgcd_started">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="gcd" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sheal">
|
|
<return type="void" />
|
|
<argument index="0" name="what" type="int" />
|
|
<argument index="1" name="info" type="SpellHealInfo" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_slevel_up">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="value" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="notification_sxp_gained">
|
|
<return type="void" />
|
|
<argument index="0" name="entity" type="Node" />
|
|
<argument index="1" name="value" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="pet_move">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="pet_update">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_editor_description">
|
|
<return type="void" />
|
|
<argument index="0" name="editor_description" type="String" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="update">
|
|
<return type="void" />
|
|
<argument index="0" name="delta" type="float" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="force_state" type="int" setter="set_force_state" getter="get_force_state" enum="EntityEnums.AIStates" default="0">
|
|
</member>
|
|
<member name="get_enabled" type="bool" setter="set_enabled" getter="get_enabled" default="true">
|
|
</member>
|
|
<member name="owner" type="Entity" setter="set_owner" getter="get_owner">
|
|
</member>
|
|
<member name="spec_distribution" type="PoolIntArray" setter="set_spec_distribution" getter="get_spec_distribution" default="PoolIntArray( )">
|
|
</member>
|
|
<member name="spec_variance" type="int" setter="set_spec_variance" getter="get_spec_variance" default="0">
|
|
</member>
|
|
<member name="state" type="int" setter="set_state" getter="get_state" enum="EntityEnums.AIStates" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|