All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.xhsun.guildwars2wrapper.model.character.CharacterInventory Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package me.xhsun.guildwars2wrapper.model.character;

import me.xhsun.guildwars2wrapper.model.util.Bag;

import java.util.List;

/**
 * For more info on Character Inventory API go here
* Character inventory model class * * @author xhsun * @see Bag bag item * @since 2017-02-09 */ public class CharacterInventory { private List bags; public List getBags() { return bags; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CharacterInventory that = (CharacterInventory) o; return bags != null ? bags.equals(that.bags) : that.bags == null; } @Override public int hashCode() { return bags != null ? bags.hashCode() : 0; } @Override public String toString() { return "CharacterInventory{" + "bags=" + bags + '}'; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy