2021-10-08 12:13:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 13:18:53 +00:00
|
|
|
<class name="MultiplayerSpawner" inherits="Node" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2021-10-08 12:13:06 +00:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_spawn_custom" qualifiers="virtual">
|
|
|
|
<return type="Object" />
|
|
|
|
<argument index="0" name="data" type="Variant" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-05-23 00:24:14 +00:00
|
|
|
<method name="add_spawnable_scene">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="path" type="String" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear_spawnable_scenes">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_spawnable_scene" qualifiers="const">
|
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="path" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_spawnable_scene_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-10-08 12:13:06 +00:00
|
|
|
<method name="spawn">
|
|
|
|
<return type="Node" />
|
|
|
|
<argument index="0" name="data" type="Variant" default="null" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="auto_spawn" type="bool" setter="set_auto_spawning" getter="is_auto_spawning" default="false">
|
|
|
|
</member>
|
|
|
|
<member name="spawn_limit" type="int" setter="set_spawn_limit" getter="get_spawn_limit" default="0">
|
|
|
|
</member>
|
|
|
|
<member name="spawn_path" type="NodePath" setter="set_spawn_path" getter="get_spawn_path" default="NodePath("")">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<signals>
|
|
|
|
<signal name="despawned">
|
|
|
|
<argument index="0" name="scene_id" type="int" />
|
|
|
|
<argument index="1" name="node" type="Node" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
<signal name="spawned">
|
|
|
|
<argument index="0" name="scene_id" type="int" />
|
|
|
|
<argument index="1" name="node" type="Node" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
</class>
|