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