|
Chunks
Moddable voxel sandbox for room-scale VR.
|
Class containing information about loaded plugins. More...
Classes | |
| class | LoadContext |
Public Member Functions | |
| override string | ToString () |
| Returns the name of the plugin. More... | |
| void | InvalidateResources () |
| IResourceCollection | GetResourceCollection (Type type) |
Static Public Member Functions | |
| static IEnumerable< Plugin > | GetAll () |
| static IEnumerable< Plugin > | GetAllLoaded () |
| Gets all loaded plugins. More... | |
| static Plugin | Get (Assembly pluginAssembly) |
| static Type | GetType (string fullName) |
| Attempts to find a plugin-defined type with the given full name, factoring in any substitutions that may be defined for that type. More... | |
| static Plugin | Get (PluginName name) |
| Attempts to retrieve a loaded plugin by name, returning null if no matching plugin is found. More... | |
| static PluginResource | GetResource (Type resType, ResourceName name) |
| static TResource | GetResource< TResource > (ResourceName name) |
| Attempts to find a named resource of the given type from all loaded plugins, returning null if it does not exist. More... | |
| static IEnumerable< PluginResource > | GetResources (Type resType) |
| static IEnumerable< TResource > | GetResources< TResource > () |
| Returns all existing resources of the given type. More... | |
Properties | |
| ResourceCollection< SoundEffect > | SoundEffects [get] |
| All sound effect resources contained within this plugin. More... | |
| ResourceCollection< Block > | Blocks [get] |
| All block resources contained within this plugin. More... | |
| ResourceCollection< Surface > | Surfaces [get] |
| All particle effect resources contained within this plugin. More... | |
| ResourceCollection< LightingSettings > | LightingSettings [get] |
| All texture resources contained within this plugin. More... | |
| ResourceCollection< Model > | Models [get] |
| All particle effect resources contained within this plugin. More... | |
| ResourceCollection< ParticleEffect > | ParticleEffects [get] |
| All particle effect resources contained within this plugin. More... | |
| ResourceCollection< Graphics.Sprite > | Sprites [get] |
| All sprite resources contained within this plugin. More... | |
| ResourceCollection< Texture > | Textures [get] |
| All texture resources contained within this plugin. More... | |
| IEnumerable< Type > | WandToolTypes [get] |
| Gets all wand tool types defined by this plugin. More... | |
| PluginName | Name [get] |
| The name of the plugin. More... | |
| string | Description [get] |
| The description of the plugin. More... | |
| string | IconPath [get] |
| Path to the plugin's icon image. More... | |
| bool | IsValid [get] |
| True if the plugin has been loaded successfully and is ready to use. More... | |
| string | Title [get] |
| The nicely formatted title of the plugin. More... | |
| string | Version [get] |
| The current version of the plugin. More... | |
| string[] | Authors [get] |
| The names of each author of the plugin. More... | |
| string[] | Tags [get] |
| A set of tags associated with the plugin. More... | |
| PluginName[] | Requires [get] |
| A set of plugin names that should be loaded before this plugin. More... | |
| IEnumerable< Assembly > | Assemblies [get] |
| Gets all assemblies loaded by this plugin. More... | |
| IEnumerable< GameModeInfo > | GameModes [get] |
| bool | IsLoaded [get] |
Events | |
| static Action | ResourcesUpdated |
| Event each time resources are reloaded. More... | |
| static Action | UnloadingAll |
| Action< Plugin > | Unloaded |
Class containing information about loaded plugins.
|
static |
|
static |
Attempts to retrieve a loaded plugin by name, returning null if no matching plugin is found.
| name | Name of the plugin to retrieve |
|
static |
|
static |
Gets all loaded plugins.
|
static |
|
static |
Attempts to find a named resource of the given type from all loaded plugins, returning null if it does not exist.
| TResource | Type of the resource to find. |
| name | Name of the resource to find. |
| TResource | : | PluginResource | |
| TResource | : | new() |
| IResourceCollection Chunks.Plugins.Plugin.GetResourceCollection | ( | Type | type | ) |
|
static |
|
static |
Returns all existing resources of the given type.
| TResource | Type of resource to find. |
| TResource | : | PluginResource | |
| TResource | : | new() |
|
static |
Attempts to find a plugin-defined type with the given full name, factoring in any substitutions that may be defined for that type.
| fullName | Full name of the type to find. |
| void Chunks.Plugins.Plugin.InvalidateResources | ( | ) |
| override string Chunks.Plugins.Plugin.ToString | ( | ) |
Returns the name of the plugin.
|
get |
Gets all assemblies loaded by this plugin.
|
get |
The names of each author of the plugin.
|
get |
All block resources contained within this plugin.
|
get |
The description of the plugin.
|
get |
|
get |
Path to the plugin's icon image.
|
get |
|
get |
True if the plugin has been loaded successfully and is ready to use.
|
get |
All texture resources contained within this plugin.
|
get |
All particle effect resources contained within this plugin.
|
get |
The name of the plugin.
|
get |
All particle effect resources contained within this plugin.
|
get |
A set of plugin names that should be loaded before this plugin.
|
get |
All sound effect resources contained within this plugin.
|
get |
All sprite resources contained within this plugin.
|
get |
All particle effect resources contained within this plugin.
|
get |
A set of tags associated with the plugin.
|
get |
All texture resources contained within this plugin.
|
get |
The nicely formatted title of the plugin.
|
get |
The current version of the plugin.
|
get |
Gets all wand tool types defined by this plugin.
|
static |
Event each time resources are reloaded.
| Action<Plugin> Chunks.Plugins.Plugin.Unloaded |
|
static |
1.8.10