Class WeaverCore_ModClass
The mod class for WeaverCore
Inherited Members
Namespace: WeaverCore.Internal
Assembly: WeaverCore.dll
Syntax
public sealed class WeaverCore_ModClass : WeaverMod, IMod, ILogger
Constructors
| Edit this page View SourceWeaverCore_ModClass()
Declaration
public WeaverCore_ModClass()
Methods
| Edit this page View SourceGetPreloadNames()
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
| Edit this page View SourceGetVersion()
Returns version of Mod
Declaration
public override string GetVersion()
Returns
Type | Description |
---|---|
string | Mod Version |
Overrides
| Edit this page View SourceInitialize(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 |