Class ContextValues
java.lang.Object
io.github.syst3ms.skriptparser.registration.context.ContextValues
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ContextValue<?, ?>> Returns an unmodifiable list with all the registered context values.static List<ContextValue<?, ?>> getContextValues(Class<? extends TriggerContext> ctx) Returns a list with all the registered context values for a givenTriggerContext, excluding values that explicitly require it.static void
-
Constructor Details
-
ContextValues
public ContextValues()
-
-
Method Details
-
register
-
getContextValues
Returns an unmodifiable list with all the registered context values.- Returns:
- a list with all context values
-
getContextValues
Returns a list with all the registered context values for a givenTriggerContext, excluding values that explicitly require it.- Parameters:
ctx- the context class- Returns:
- a list with the applicable context values
-