2021-10-08 14:13:06 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-07-12 23:12:42 +02:00
<class name= "SceneReplicationConfig" inherits= "Resource" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2021-10-08 14:13:06 +02:00
<brief_description >
2022-07-29 01:30:30 +02:00
Configuration for properties to synchronize with a [MultiplayerSynchronizer].
2021-10-08 14:13:06 +02:00
</brief_description>
<description >
</description>
<tutorials >
</tutorials>
<methods >
<method name= "add_property" >
<return type= "void" />
<argument index= "0" name= "path" type= "NodePath" />
<argument index= "1" name= "index" type= "int" default= "-1" />
<description >
2022-07-29 01:30:30 +02:00
Adds the property identified by the given [code]path[/code] to the list of the properties being synchronized, optionally passing an [code]index[/code].
2021-10-08 14:13:06 +02:00
</description>
</method>
<method name= "get_properties" qualifiers= "const" >
<return type= "NodePath[]" />
<description >
2022-07-29 01:30:30 +02:00
Returns a list of synchronized property [NodePath]s.
2021-10-08 14:13:06 +02:00
</description>
</method>
2022-05-23 02:24:14 +02:00
<method name= "has_property" qualifiers= "const" >
<return type= "bool" />
<argument index= "0" name= "path" type= "NodePath" />
<description >
2022-07-29 01:30:30 +02:00
Returns whether the given [code]path[/code] is configured for synchronization.
2022-05-23 02:24:14 +02:00
</description>
</method>
2021-10-08 14:13:06 +02:00
<method name= "property_get_index" qualifiers= "const" >
<return type= "int" />
<argument index= "0" name= "path" type= "NodePath" />
<description >
2022-07-29 01:30:30 +02:00
Finds the index of the given [code]path[/code].
2021-10-08 14:13:06 +02:00
</description>
</method>
<method name= "property_get_spawn" >
<return type= "bool" />
<argument index= "0" name= "path" type= "NodePath" />
<description >
2022-07-29 01:30:30 +02:00
Returns whether the property identified by the given [code]path[/code] is configured to be synchronized on spawn.
2021-10-08 14:13:06 +02:00
</description>
</method>
<method name= "property_get_sync" >
<return type= "bool" />
<argument index= "0" name= "path" type= "NodePath" />
<description >
2022-07-29 01:30:30 +02:00
Returns whether the property identified by the given [code]path[/code] is configured to be synchronized on process.
2021-10-08 14:13:06 +02:00
</description>
</method>
<method name= "property_set_spawn" >
<return type= "void" />
<argument index= "0" name= "path" type= "NodePath" />
<argument index= "1" name= "enabled" type= "bool" />
<description >
2022-07-29 01:30:30 +02:00
Sets whether the property identified by the given [code]path[/code] is configured to be synchronized on spawn.
2021-10-08 14:13:06 +02:00
</description>
</method>
<method name= "property_set_sync" >
<return type= "void" />
<argument index= "0" name= "path" type= "NodePath" />
<argument index= "1" name= "enabled" type= "bool" />
<description >
2022-07-29 01:30:30 +02:00
Sets whether the property identified by the given [code]path[/code] is configured to be synchronized on process.
2021-10-08 14:13:06 +02:00
</description>
</method>
<method name= "remove_property" >
<return type= "void" />
<argument index= "0" name= "path" type= "NodePath" />
<description >
2022-07-29 01:30:30 +02:00
Removes the property identified by the given [code]path[/code] from the configuration.
2021-10-08 14:13:06 +02:00
</description>
</method>
</methods>
</class>