Interface ServiceManager.Provider<T>
- Enclosing interface:
- ServiceManager
@Immutable
public static sealed interface ServiceManager.Provider<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetClazz()static <T> ServiceManager.Provider<T>of(MindustryPlugin plugin, Class<T> clazz, Priority priority, Supplier<T> factory)
-
Method Details
-
of
static <T> ServiceManager.Provider<T> of(MindustryPlugin plugin, Class<T> clazz, Priority priority, Supplier<T> factory) -
getPlugin
MindustryPlugin getPlugin() -
getClazz
-
getPriority
Priority getPriority() -
getFactory
-