Package net.openosrs.api
Class Context
- java.lang.Object
-
- net.openosrs.api.Context
-
public final class Context extends java.lang.ObjectCentral access hub for the OpenOSRS Interaction API. The API is intentionally DI-friendly: services are plain Guice singletons.OpenOSRSprovides static convenience access for code that cannot receive constructor injection (scripts, static contexts).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.runelite.api.Clientclient()static <T> TgetService(java.lang.Class<T> type)static voidinit(com.google.inject.Injector runeLiteInjector)
-