Class RegistryLoader
Used to load the registries for WeaverCore Mods
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public static class RegistryLoader
Methods
| Edit this page View SourceLoadAllRegistries(Assembly)
Loads all registries from an assembly
Declaration
public static void LoadAllRegistries(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly to load the registries from |
LoadAllRegistries(Type)
Loads all Registries that are a part of the specified mod
Declaration
public static void LoadAllRegistries(Type modType)
Parameters
Type | Name | Description |
---|---|---|
Type | modType | The mod to load the registries from |
LoadAllRegistries<Mod>()
Loads all Registries that are a part of the specified mod
Declaration
public static void LoadAllRegistries<Mod>() where Mod : IMod
Type Parameters
Name | Description |
---|---|
Mod | The mod to load the registries from |
LoadEmbeddedRegistries(Assembly)
Loads any registries that are embedded inside of the assembly as an embedded resource asset bundle
Declaration
public static void LoadEmbeddedRegistries(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly to load from |