Api session event editor unitdataoverride add color

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Add Color

Name Importance Type Description Values
0 REQUIRED (UNIT_DATA_OVERRIDE Integer ID) Unit Data Override
1 REQUIRED (TColor) Color

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorunitdataoverride/add_color/?f=JSON&token=API_TOKEN

with content:

[ 34, {
 "argb" : 1610183829
} ]