Show / Hide Table of Contents

Class WeaverCore_ModClass

The mod class for WeaverCore

Inheritance
object
Loggable
Mod
WeaverMod
WeaverCore_ModClass
Implements
IMod
ILogger
Inherited Members
WeaverMod.LoadedMods
WeaverMod.Registries
WeaverMod.EnableRegistries(IMod)
WeaverMod.DisableRegistries(IMod)
Mod.GetName()
Mod.PreloadSceneHooks()
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.Internal
Assembly: WeaverCore.dll
Syntax
public sealed class WeaverCore_ModClass : WeaverMod, IMod, ILogger

Constructors

| Edit this page View Source

WeaverCore_ModClass()

Declaration
public WeaverCore_ModClass()

Methods

| Edit this page View Source

GetPreloadNames()

Returns the objects to preload in order for the mod to work.

Declaration
public override List<(string, string)> GetPreloadNames()
Returns
Type Description
List<(string, string)>

A List of tuples containing scene name, object name

Overrides
Mod.GetPreloadNames()
| Edit this page View Source

GetVersion()

Returns version of Mod

Declaration
public override string GetVersion()
Returns
Type Description
string

Mod Version

Overrides
WeaverMod.GetVersion()
| Edit this page View Source

Initialize(Dictionary<string, Dictionary<string, GameObject>>)

Called after preloading of all mods.

Declaration
public override void Initialize(Dictionary<string, Dictionary<string, GameObject>> preloadedObjects)
Parameters
Type Name Description
Dictionary<string, Dictionary<string, GameObject>> preloadedObjects

The preloaded objects relevant to this Mod

Overrides
Mod.Initialize(Dictionary<string, Dictionary<string, GameObject>>)

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
☀
☾