- Timestamp:
- Jun 18, 2018, 6:41:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetPlayerInventory.cs
r253 r321 56 56 } 57 57 58 privatevoid DoInventory (JSONArray _jsonRes, List<InvItem> _inv) {58 internal static void DoInventory (JSONArray _jsonRes, List<InvItem> _inv) { 59 59 for (int i = 0; i < _inv.Count; i++) { 60 60 _jsonRes.Add (GetJsonForItem (_inv [i])); … … 62 62 } 63 63 64 privatevoid AddEquipment (JSONObject _eq, string _slotname, InvItem[] _items, EquipmentSlots _slot) {64 internal static void AddEquipment (JSONObject _eq, string _slotname, InvItem[] _items, EquipmentSlots _slot) { 65 65 int[] slotindices = XUiM_PlayerEquipment.GetSlotIndicesByEquipmentSlot (_slot); 66 66 … … 76 76 } 77 77 78 privateJSONNode GetJsonForItem (InvItem _item) {78 internal static JSONNode GetJsonForItem (InvItem _item) { 79 79 if (_item != null) { 80 80 JSONObject jsonItem = new JSONObject ();
Note:
See TracChangeset
for help on using the changeset viewer.