To restore item's icons, use the command item/restore_icons:
svc=item/restore_icons¶ms={"resId":<long>, "trailerIcons":{<long>:<text>}, "driverIcons":{<long>:<text>}, "zoneIcons":{<long>:<text>}, "unitIcons":{<long>:<text>}}
<long> - item/propitem id;
<text> - icon url on backup server.
You can restore a few of items at the same command, separated by comma <long>:“<text>“ .
Name | Description |
---|---|
resId | resource ID |
itemId | item ID |
trailerIcons | trailer icon parameters |
driverIcons | driver icon parameters |
zoneIcons | geozone icon parameters |
unitIcons | unit icon parameters |
{} /* empty object if execution successful, if not - error code */