[MP] Implement "watched" properties.
Checked at "delta_interval" (default = every frame), synchronized (reliably) if changes are detected.
This commit is contained in:
@@ -50,6 +50,13 @@
|
||||
Returns whether the property identified by the given [param path] is configured to be synchronized on process.
|
||||
</description>
|
||||
</method>
|
||||
<method name="property_get_watch">
|
||||
<return type="bool" />
|
||||
<param index="0" name="path" type="NodePath" />
|
||||
<description>
|
||||
Returns whether the property identified by the given [code]path[/code] is configured to be reliably synchronized when changes are detected on process.
|
||||
</description>
|
||||
</method>
|
||||
<method name="property_set_spawn">
|
||||
<return type="void" />
|
||||
<param index="0" name="path" type="NodePath" />
|
||||
@@ -66,6 +73,14 @@
|
||||
Sets whether the property identified by the given [param path] is configured to be synchronized on process.
|
||||
</description>
|
||||
</method>
|
||||
<method name="property_set_watch">
|
||||
<return type="void" />
|
||||
<param index="0" name="path" type="NodePath" />
|
||||
<param index="1" name="enabled" type="bool" />
|
||||
<description>
|
||||
Sets whether the property identified by the given [code]path[/code] is configured to be reliably synchronized when changes are detected on process.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_property">
|
||||
<return type="void" />
|
||||
<param index="0" name="path" type="NodePath" />
|
||||
|
||||
Reference in New Issue
Block a user