public static class ItemInfoUtils.ItemInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private static com.google.common.collect.ImmutableList<String> |
availableKeys |
private int |
damage |
private int |
id |
private String |
imagePath |
private String |
nameChinese |
private String |
nameEnglish |
| Constructor and Description |
|---|
ItemInfo() |
| Modifier and Type | Method and Description |
|---|---|
static ItemInfoUtils.ItemInfo |
fromMap(@NonNull Map<String,Object> map) |
LinkedHashMap<String,Object> |
toMap() |
private final int id
private final int damage
private final String imagePath
private final String nameChinese
private final String nameEnglish
private static final com.google.common.collect.ImmutableList<String> availableKeys
public static ItemInfoUtils.ItemInfo fromMap(@NonNull @NonNull Map<String,Object> map)
public LinkedHashMap<String,Object> toMap()
Copyright © 2022. All rights reserved.