Show / Hide Table of Contents

Class Interop

Used to help with mod interop

Inheritance
object
Interop
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public static class Interop

Methods

| Edit this page View Source

GetModAssembly(string)

Gets the assembly of a mod by its name.

Declaration
public static Assembly GetModAssembly(string modName)
Parameters
Type Name Description
string modName

The name of the mod to retrieve the assembly for.

Returns
Type Description
Assembly

The assembly of the mod with the specified name, or null if not found.

| Edit this page View Source

GetModByName(string)

Gets a mod by its name.

Declaration
public static IMod GetModByName(string modName)
Parameters
Type Name Description
string modName

The name of the mod to retrieve.

Returns
Type Description
IMod

The mod with the specified name, or null if not found.

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾