Api session event editor unitdataoverride: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude lang="text" copy>API Endpoint: api/session/event/editorunitdataoverride/ | |||
</noinclude><noinclude lang="text" copy> | |||
[[Unit Data Override]] editing. | API Endpoints for [[Unit Data Override]] editing. | ||
{|class=wikitable | </noinclude>{|class=wikitable | ||
!Name | !Name | ||
!Description | !Description | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride add|add]] | ||
|Add | | Add a [[Unit Data Override]] for a [[Unit Data]] | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride duplicate|duplicate]] | ||
|Duplicate existing [[Unit Data Override]] | | Duplicate existing [[Unit Data Override]] | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride remove|remove]] | ||
|Remove existing [[Unit Data Override]] | | Remove existing [[Unit Data Override]] | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride set active|set_active]] | ||
|Set [[Unit Data | | Set whether a [[Unit Data]] (Override) is active | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride set name|set_name]] | ||
|Set | | Set the name of an [[Unit Data Override]] | ||
|} | |} | ||
<noinclude lang="text" copy> | |||
Additional API Endpoints: | |||
{|class=wikitable | </noinclude>{|class=wikitable | ||
!Name | !Name | ||
!Description | !Description | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride add color|add_color]] | ||
|Add | | Add a new color to a [[Unit Data Override]]'s available unit colors | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride add random color|add_random_color]] | ||
|Add | | Add a new random color to a [[Unit Data Override]]'s available unit colors | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride remove color|remove_color]] | ||
|Remove | | Remove a color from the [[Unit Data Override]]'s available unit colors | ||
|- | |- | ||
|[[ | | [[Api session event editor unitdataoverride set index color|set_index_color]] | ||
|Set | | Set a color from the [[Unit Data Override]]'s at an index in the available unit color array | ||
|} | |} | ||
{{article end|seealso=*[[Api | <noinclude lang="text" copy>{{article end|seealso=*[[Api Session Endpoints]] | ||
*[[Api session items unitdatas]] | |||
}} | |||
</noinclude> | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 10:27, 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 |