Api session event editor unitdataoverride: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:
| Set a color from the [[Unit Data Override]]'s at an index in the available unit color array
| Set a color from the [[Unit Data Override]]'s at an index in the available unit color array
|}
|}
{{article end|seealso=*[[Api Session Endpoints]]
<noinclude lang="text" copy>{{article end|seealso=*[[Api Session Endpoints]]
*[[Api session items unitdatas]]
*[[Api session items unitdatas]]
}}
}}
 
</noinclude>
[[Category:API]]
[[Category:API]]

Revision as of 10:19, 13 November 2026

API Endpoint: api/session/event/editorunitdataoverride/

API Endpoints for Unit Data Override editing.

Name Description
add Add a Unit Data Override for a Unit Data
duplicate Duplicate existing Unit Data Override
remove Remove existing Unit Data Override
set_active Set whether a Unit Data (Override) is active
set_name Set the name of an Unit Data Override

Additional API Endpoints:

Name Description
add_color Add a new color to a Unit Data Override's available unit colors
add_random_color Add a new random color to a Unit Data Override's available unit colors
remove_color Remove a color from the Unit Data Override's available unit colors
set_index_color Set a color from the Unit Data Override's at an index in the available unit color array