mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-13 10:42:54 +00:00
@@ -20,6 +20,13 @@ public class CharacterInventory implements Iterable<Item> {
|
||||
this.character = character;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method will add new items to the inventory. This is normally called
|
||||
* from the DAO object.
|
||||
*
|
||||
* @param items
|
||||
* the items to be added
|
||||
*/
|
||||
public void load(List<Item> items) {
|
||||
items.addAll(items);
|
||||
}
|
||||
@@ -35,4 +42,12 @@ public class CharacterInventory implements Iterable<Item> {
|
||||
public Iterator<Item> iterator() {
|
||||
return items.iterator();
|
||||
}
|
||||
|
||||
public enum InventoryLocation {
|
||||
PAPERDOLL, INVENTORY;
|
||||
}
|
||||
|
||||
public enum InventoryPaperdoll {
|
||||
UNDERWEAR, HEAD, HAIR1, HAIR2, NECK, RIGHT_HAND, LEFT_HAND, RIGHT_EAR, LEFT_EAR, GLOVES, LEGS, LEFT_FEET, RIGHT_FEET, RIGHT_FINGER, LEFT_FINGER, LEFT_BRACELET, RIGHT_BRACELET, DECORATION_1, DECOREATION_2, DECORATION_3, DECORATION_4, DECORATION_5, DECORATION_6, CLOAK, BELT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user