Type:CloudVariableChangeMode: Difference between revisions

From Resonite Wiki
add info
standardize, add info
 
Line 1: Line 1:
How to handle changing the cloud variable value on the cloud if the value is written to within the world.
The '''CloudVariableChangeMode''' type tells applicable [[Cloud Variables|cloud variable]] components how to handle the world-facing value of the cloud variable being written to. This type does <em>not</em> override the [[Cloud Variables#Permissions|permissions]] set on the cloud variable itself.


== Possible Values ==
{{Table EnumValues
{{Table EnumValues
|Ignore|0| Don't change the variable on the cloud if the value in the world is written to.
|Ignore|0|Don't change the variable on the cloud if the value in the world is written to.
|WriteIfOwner|1| Change the variable on the cloud if the value in the world is written to by the definition owner if the variable permissions allow it.
|WriteIfOwner|1|Change the variable on the cloud if the value in the world is written to by the definition owner if the variable permissions allow it.
|AlwaysWrite|2| Change the variable on the cloud regardless of who wrote to it if the variable permissions allow it.
|AlwaysWrite|2|Change the variable on the cloud regardless of who wrote to it if the variable permissions allow it.
}}
}}
== Used By ==
* [[Component:CloudValueField]]
* [[Component:CloudValueVariable]]


[[Category:Type]]
[[Category:Type]]
[[Category:Enums]]
[[Category:Enums]]

Latest revision as of 18:07, 11 November 2024

The CloudVariableChangeMode type tells applicable cloud variable components how to handle the world-facing value of the cloud variable being written to. This type does not override the permissions set on the cloud variable itself.

Possible Values

Values
Name Value Description
Ignore 0 Don't change the variable on the cloud if the value in the world is written to.
WriteIfOwner 1 Change the variable on the cloud if the value in the world is written to by the definition owner if the variable permissions allow it.
AlwaysWrite 2 Change the variable on the cloud regardless of who wrote to it if the variable permissions allow it.

Used By