Api session event editor weather: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API api session event editor weather Events. Weather editing. {|class=wikitable !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..."
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
API api session event editor weather Events.
API Endpoint: api/session/event/editorweather/


Weather editing.
API endpoints for [[Weather]] editing.
{|class=wikitable
{|class=wikitable
!Name
!Name
!Description
!Description
|-
|-
|[[api session event editor weather add|ADD]]
| [[Api session event editor weather add|add]]
|Add a new weather of a specified type.
| Add a new [[Weather]] of a specified type.
|-
|-
|[[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]] numeric [[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 settings and attributes, but can be edited independently of the originals.
| Duplicate the specified [[Weather]]s as independent copies.
|-
|-
|[[api session event editor weather remove|REMOVE]]
| [[Api session event editor weather remove|remove]]
|Remove the specified weathers.
| 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 specified [[Attribute]]s from the specified [[Weather]], including default [[Attribute]]s.
|-
|-
|[[api session event editor weather set attribute|SET_ATTRIBUTE]]
| [[Api session event editor weather set attribute|set_attribute]]
|Set [[Weather]] attribute value
| Set [[Weather]] numeric [[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]] numeric [[Attribute]] values
|-
|-
|[[api session event editor weather set name|SET_NAME]]
| [[Api session event editor weather set name|set_name]]
|Set the name for a specified weather.
| Set the name for a specified [[Weather]].
|}
|}


Specific Events:
Additional API endpoints:
{|class=wikitable
{|class=wikitable
!Name
!Name
!Description
!Description
|-
|-
|[[api session event editor weather remove flood overlay|REMOVE_FLOOD_OVERLAY]]
| [[Api session event editor weather remove flood overlay|remove_flood_overlay]]
|Remove the specified visualization overlay from specified weather.
| Remove the specified visualization [[Overlay]] from the specified [[Weather]].
|-
|-
|[[api session event editor weather set duration|SET_DURATION]]
| [[Api session event editor weather set duration|set_duration]]
|Set how long the specified weather's visualization lasts when it is triggered.
| Set the duration of the specified [[Weather]]'s visualization.
|-
|-
|[[api session event editor weather set effect|SET_EFFECT]]
| [[Api session event editor weather set effect|set_effect]]
|Set what kind of weather the specified weather is.
| Set the type of the specified [[Weather]].
|-
|-
|[[api session event editor weather set flood overlay|SET_FLOOD_OVERLAY]]
| [[Api session event editor weather set flood overlay|set_flood_overlay]]
|Set a specific visualization overlay for a specified weather.
| Set a specific visualization [[Overlay]] for a specified [[Weather]].
|-
|-
|[[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 triggers automatically.
| Set the [[Trigger]] [[Time]] for the specified [[Weather]]'s visualization.
|}
|}
{{article end|seealso=*[[Api Events]]}}
{{article end|seealso=*[[Api Session Endpoints]]
*[[Api session items weathers]]
}}


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

Latest revision as of 10:00, 13 July 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 numeric Attribute value
duplicate Duplicate the specified Weathers as independent copies.
remove Remove the specified Weathers.
remove_attribute Remove specified Attributes from the specified Weather, including default Attributes.
set_attribute Set Weather numeric Attribute value
set_attributes Set multiple Weather numeric 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 the specified Weather.
set_duration Set the duration of the specified Weather's visualization.
set_effect Set the type of the specified Weather.
set_flood_overlay Set a specific visualization Overlay for a specified Weather.
set_trigger_sec Set the Trigger Time for the specified Weather's visualization.