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="MultiplayerSynchronizer" 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>
|
2022-07-09 18:45:30 +00:00
|
|
|
<methods>
|
|
|
|
<method name="add_visibility_filter">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="filter" type="Callable" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_visibility_for" qualifiers="const">
|
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="peer" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_visibility_filter">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="filter" type="Callable" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_visibility_for">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="peer" type="int" />
|
|
|
|
<argument index="1" name="visible" type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="update_visibility">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="for_peer" type="int" default="0" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
2021-10-08 12:13:06 +00:00
|
|
|
<members>
|
2022-07-09 18:45:30 +00:00
|
|
|
<member name="public_visibility" type="bool" setter="set_visibility_public" getter="is_visibility_public" default="true">
|
|
|
|
</member>
|
2022-05-24 06:31:44 +00:00
|
|
|
<member name="replication_config" type="SceneReplicationConfig" setter="set_replication_config" getter="get_replication_config">
|
2021-10-08 12:13:06 +00:00
|
|
|
</member>
|
2022-05-23 00:24:14 +00:00
|
|
|
<member name="replication_interval" type="float" setter="set_replication_interval" getter="get_replication_interval" default="0.0">
|
2021-10-08 12:13:06 +00:00
|
|
|
</member>
|
2022-05-23 00:24:14 +00:00
|
|
|
<member name="root_path" type="NodePath" setter="set_root_path" getter="get_root_path" default="NodePath("..")">
|
2021-10-08 12:13:06 +00:00
|
|
|
</member>
|
2022-07-09 18:45:30 +00:00
|
|
|
<member name="visibility_update_mode" type="int" setter="set_visibility_update_mode" getter="get_visibility_update_mode" enum="MultiplayerSynchronizer.VisibilityUpdateMode" default="0">
|
|
|
|
</member>
|
2021-10-08 12:13:06 +00:00
|
|
|
</members>
|
2022-07-09 18:45:30 +00:00
|
|
|
<signals>
|
|
|
|
<signal name="visibility_changed">
|
|
|
|
<argument index="0" name="for_peer" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
<constants>
|
|
|
|
<constant name="VISIBILITY_PROCESS_IDLE" value="0" enum="VisibilityUpdateMode">
|
|
|
|
</constant>
|
|
|
|
<constant name="VISIBILITY_PROCESS_PHYSICS" value="1" enum="VisibilityUpdateMode">
|
|
|
|
</constant>
|
|
|
|
<constant name="VISIBILITY_PROCESS_NONE" value="2" enum="VisibilityUpdateMode">
|
|
|
|
</constant>
|
|
|
|
</constants>
|
2021-10-08 12:13:06 +00:00
|
|
|
</class>
|