public abstract class APISupport extends AbstractAPISupport
| Modifier and Type | Field and Description |
|---|---|
protected org.spongepowered.api.plugin.PluginContainer |
target |
plugin| Constructor and Description |
|---|
APISupport(TriggerReactorCore plugin,
String targetPluginName) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Class<? extends AbstractAPISupport>> |
getSharedVars() |
void |
init()
Initialize this API.
|
addSharedVarpublic APISupport(TriggerReactorCore plugin, String targetPluginName)
public void init()
throws APISupportException
AbstractAPISupportinit in class AbstractAPISupportAPISupportException - throw this exception when the supporting API is not loaded or not found.public static Map<String,Class<? extends AbstractAPISupport>> getSharedVars()