|
|
@ -2741,6 +2741,7 @@ public class mbEnums { |
|
|
|
|
|
|
|
|
|
|
|
public static HashMap<Integer, ResourceType> templateLookup = new HashMap<>(); |
|
|
|
public static HashMap<Integer, ResourceType> templateLookup = new HashMap<>(); |
|
|
|
public static HashMap<Integer, ResourceType> templateHashLookup = new HashMap<>(); |
|
|
|
public static HashMap<Integer, ResourceType> templateHashLookup = new HashMap<>(); |
|
|
|
|
|
|
|
public static HashMap<Integer, ResourceType> resourceHashLookup = new HashMap<>(); |
|
|
|
public int templateID; |
|
|
|
public int templateID; |
|
|
|
public ItemTemplate template; |
|
|
|
public ItemTemplate template; |
|
|
|
public int resourceHash; |
|
|
|
public int resourceHash; |
|
|
@ -2762,6 +2763,7 @@ public class mbEnums { |
|
|
|
for (ResourceType resourceType : ResourceType.values()) { |
|
|
|
for (ResourceType resourceType : ResourceType.values()) { |
|
|
|
templateLookup.put(resourceType.templateID, resourceType); |
|
|
|
templateLookup.put(resourceType.templateID, resourceType); |
|
|
|
templateHashLookup.put(resourceType.templateHash, resourceType); |
|
|
|
templateHashLookup.put(resourceType.templateHash, resourceType); |
|
|
|
|
|
|
|
resourceHashLookup.put(resourceType.resourceHash, resourceType); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|