Package net.storm.api
Class Static
java.lang.Object
net.storm.api.Static
Central service locator providing static access to all Storm API services.
This class serves as the primary entry point for plugin developers to access various game APIs, managers, and utilities. All services are injected via Google Guice dependency injection and exposed as static getters.
Example usage:
IInventory inventory = Static.getInventory();
IBank bank = Static.getBank();
IGame game = Static.getGame();
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.google.inject.InjectorThe Google Guice injector instance used for dependency injection. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
injector
public static com.google.inject.Injector injectorThe Google Guice injector instance used for dependency injection.
-
-
Constructor Details
-
Static
public Static()
-