Show / Hide Table of Contents

Class WeaverMod

The base class for all WeaverCore Mods

Inheritance
object
Loggable
Mod
WeaverMod
WeaverCore_ModClass
TogglableWeaverMod
Implements
IMod
ILogger
Inherited Members
Mod.GetName()
Mod.GetPreloadNames()
Mod.PreloadSceneHooks()
Mod.Initialize(Dictionary<string, Dictionary<string, GameObject>>)
Mod.IsCurrent()
Mod.LoadPriority()
Mod.Initialize()
Mod.Name
Loggable.LogFine(string)
Loggable.LogFine(object)
Loggable.LogDebug(string)
Loggable.LogDebug(object)
Loggable.Log(string)
Loggable.Log(object)
Loggable.LogWarn(string)
Loggable.LogWarn(object)
Loggable.LogError(string)
Loggable.LogError(object)
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public abstract class WeaverMod : Mod, IMod, ILogger

Constructors

| Edit this page View Source

WeaverMod()

Declaration
protected WeaverMod()
| Edit this page View Source

WeaverMod(string)

Declaration
protected WeaverMod(string name)
Parameters
Type Name Description
string name

Properties

| Edit this page View Source

LoadedMods

Declaration
public static IEnumerable<IMod> LoadedMods { get; }
Property Value
Type Description
IEnumerable<IMod>
| Edit this page View Source

Registries

Declaration
public IEnumerable<Registry> Registries { get; }
Property Value
Type Description
IEnumerable<Registry>

Methods

| Edit this page View Source

DisableRegistries(IMod)

Declaration
public static void DisableRegistries(IMod mod)
Parameters
Type Name Description
IMod mod
| Edit this page View Source

EnableRegistries(IMod)

Declaration
public static void EnableRegistries(IMod mod)
Parameters
Type Name Description
IMod mod
| Edit this page View Source

GetVersion()

Returns version of Mod

Declaration
public override string GetVersion()
Returns
Type Description
string

Mod Version

Overrides
Mod.GetVersion()

Implements

IMod
ILogger

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾