Class IdentityKits
- java.lang.Object
-
- com.runemate.game.api.hybrid.cache.configs.IdentityKits
-
public class IdentityKits extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IdentityKits()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdentityKit
load(int id)
Gets the identity kit with the specified idstatic @NonNull java.util.List<IdentityKit>
load(int first, int last)
Gets a list of identity kits within the range of [first, last]static @NonNull java.util.List<IdentityKit>
load(int first, int last, java.util.function.Predicate<IdentityKit> filter)
Gets a list of identity kits within the range of [first, last] that are accepted by the filterstatic java.util.List<IdentityKit>
loadAll()
Loads all identity kitsstatic java.util.List<IdentityKit>
loadAll(java.util.function.Predicate<IdentityKit> filter)
Loads all identity kits that are accepted by the filter
-
-
-
Method Detail
-
load
@NonNull public static @NonNull java.util.List<IdentityKit> load(int first, int last)
Gets a list of identity kits within the range of [first, last]
-
load
@NonNull public static @NonNull java.util.List<IdentityKit> load(int first, int last, java.util.function.Predicate<IdentityKit> filter)
Gets a list of identity kits within the range of [first, last] that are accepted by the filter
-
load
public static IdentityKit load(int id)
Gets the identity kit with the specified id- Returns:
- The identity kit if available, otherwise null
-
loadAll
public static java.util.List<IdentityKit> loadAll()
Loads all identity kits
-
loadAll
public static java.util.List<IdentityKit> loadAll(java.util.function.Predicate<IdentityKit> filter)
Loads all identity kits that are accepted by the filter
-
-