Api session event editor weather: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session event editor weather Endpoints.
API Endpoint: api/session/event/editorweather/


API Endpoints for [[Weather]] editing.
API endpoints for [[Weather]] editing.
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 10: Line 10:
|-
|-
|[[Api session event editor weather append attribute|append_attribute]]
|[[Api session event editor weather append attribute|append_attribute]]
|Appended to existing [[Weather]] attribute value
|Appended to existing [[Weather]] [[Attribute]] value
|-
|-
|[[Api session event editor weather duplicate|duplicate]]
|[[Api session event editor weather duplicate|duplicate]]
|Create a copy of each specified [[Weather]]. The copies will have the same [[Setting]] and attributes, but can be edited independently of the originals.
|Create a copy of each specified [[Weather]]. The copies will have the same [[Setting]]s and [[Attribute]]s, but can be edited independently of the originals.
|-
|-
|[[Api session event editor weather remove|remove]]
|[[Api session event editor weather remove|remove]]
|Remove the specified [[Weather]].
|Remove the specified [[Weather]]s.
|-
|-
|[[Api session event editor weather remove attribute|remove_attribute]]
|[[Api session event editor weather remove attribute|remove_attribute]]
|Remove the specified attributes of the specified [[Weather]]. The attributes, including attributes which are added to a [[Weather]] by default, are removed entirely.
|Remove the specified [[Attribute]]s of the specified [[Weather]]. The [[Attribute]]s, including [[Attribute]]s which are added to a [[Weather]] by default, are removed entirely.
|-
|-
|[[Api session event editor weather set attribute|set_attribute]]
|[[Api session event editor weather set attribute|set_attribute]]
|Set [[Weather]] attribute value
|Set [[Weather]] [[Attribute]] value
|-
|-
|[[Api session event editor weather set attributes|set_attributes]]
|[[Api session event editor weather set attributes|set_attributes]]
|Set multiple [[Weather]] attribute values
|Set multiple [[Weather]] [[Attribute]] values
|-
|-
|[[Api session event editor weather set name|set_name]]
|[[Api session event editor weather set name|set_name]]
Line 31: Line 31:
|}
|}


Additional API Endpoints:
Additional API endpoints:
{|class=wikitable
{|class=wikitable
!Name
!Name
Line 49: Line 49:
|-
|-
|[[Api session event editor weather set trigger sec|set_trigger_sec]]
|[[Api session event editor weather set trigger sec|set_trigger_sec]]
|Set whether the specified [[Weather]]'s visualization [[Trigger]] automatically.
|Set whether the specified [[Weather]]'s visualization [[Trigger]]s automatically.
|}
|}
{{article end|seealso=*[[Api Events]]
{{article end|seealso=*[[Api Session Endpoints]]
*[[Api session items weathers]]
*[[Api session items weathers]]
}}
}}


[[Category:API]]
[[Category:API]]

Latest revision as of 08:41, 3 June 2026

API Endpoint: api/session/event/editorweather/

API endpoints for Weather editing.

Name Description
add Add a new Weather of a specified type.
append_attribute Appended to existing Weather Attribute value
duplicate Create a copy of each specified Weather. The copies will have the same Settings and Attributes, but can be edited independently of the originals.
remove Remove the specified Weathers.
remove_attribute Remove the specified Attributes of the specified Weather. The Attributes, including Attributes which are added to a Weather by default, are removed entirely.
set_attribute Set Weather Attribute value
set_attributes Set multiple Weather Attribute values
set_name Set the name for a specified Weather.

Additional API endpoints:

Name Description
remove_flood_overlay Remove the specified visualization Overlay from specified Weather.
set_duration Set how long the specified Weather's visualization lasts when it is Triggered.
set_effect Set what kind of Weather the specified Weather is.
set_flood_overlay Set a specific visualization Overlay for a specified Weather.
set_trigger_sec Set whether the specified Weather's visualization Triggers automatically.