public interface GenericPluginManagerAPI
Modifier and Type | Interface and Description |
---|---|
static interface |
GenericPluginManagerAPI.GenericPlugin |
Modifier and Type | Field and Description |
---|---|
static int |
CORE_GENERAL
Lowest priority.
|
static int |
CORE_SPECIFIC
Should be used by core code only for specific encounters.
|
static int |
CORE_SUBSET
Should only be used by core code.
|
static int |
HIGHEST
Absolute highest priority; shouldn't be used without good reason.
|
static int |
MOD_GENERAL
Should be used by mods for wholesale replacement of campaign features.
|
static int |
MOD_SPECIFIC
Should be used by mods for specific encounters, that is, encounters that aren't handled by
any of the _GENERAL and _SET priority plugins.
|
static int |
MOD_SUBSET
For a plugin that handles a set of circumstances.
|
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(GenericPluginManagerAPI.GenericPlugin plugin) |
void |
addPlugin(GenericPluginManagerAPI.GenericPlugin plugin,
boolean isTransient) |
java.util.List<GenericPluginManagerAPI.GenericPlugin> |
getPluginsOfClass(java.lang.Class c) |
boolean |
hasPlugin(java.lang.Class c) |
<T> T |
pickPlugin(java.lang.Class<T> c,
java.lang.Object params) |
void |
removePlugin(GenericPluginManagerAPI.GenericPlugin plugin) |
static final int CORE_GENERAL
static final int MOD_GENERAL
static final int CORE_SUBSET
static final int MOD_SUBSET
static final int CORE_SPECIFIC
static final int MOD_SPECIFIC
static final int HIGHEST
boolean hasPlugin(java.lang.Class c)
void addPlugin(GenericPluginManagerAPI.GenericPlugin plugin)
void addPlugin(GenericPluginManagerAPI.GenericPlugin plugin, boolean isTransient)
void removePlugin(GenericPluginManagerAPI.GenericPlugin plugin)
java.util.List<GenericPluginManagerAPI.GenericPlugin> getPluginsOfClass(java.lang.Class c)
<T> T pickPlugin(java.lang.Class<T> c, java.lang.Object params)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.