Interface ServiceManager.Provider<T>
- Enclosing interface:
- ServiceManager
@Immutable
public static sealed interface ServiceManager.Provider<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ServiceManager.Provider<T>of(MindustryPlugin plugin, Class<T> service, T instance, Priority priority)
-
Method Details
-
of
static <T> ServiceManager.Provider<T> of(MindustryPlugin plugin, Class<T> service, T instance, Priority priority) -
getPlugin
MindustryPlugin getPlugin() -
getService
-
getInstance
T getInstance() -
getPriority
Priority getPriority()
-