- Timestamp:
- Oct 28, 2015, 7:51:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetPlayerInventory.cs
r250 r251 75 75 JSONObject jsonItem = new JSONObject (); 76 76 jsonItem.Add ("count", new JSONNumber (_item.count)); 77 jsonItem.Add ("name", new JSONString (_item.itemName)); 78 jsonItem.Add ("quality", new JSONNumber (_item.quality)); 77 jsonItem.Add ("name", new JSONString (_item.itemName)); 78 jsonItem.Add ("icon", new JSONString (_item.icon)); 79 jsonItem.Add ("iconcolor", new JSONString ((string.IsNullOrEmpty (_item.iconcolor) || _item.iconcolor == "FFFFFF" ? "" : _item.iconcolor))); 80 jsonItem.Add ("quality", new JSONNumber(_item.quality)); 79 81 if (_item.quality >= 0) { 80 82 jsonItem.Add ("qualitycolor", new JSONString (QualityInfo.GetQualityColorHex (_item.quality)));
Note:
See TracChangeset
for help on using the changeset viewer.