Show / Hide Table of Contents

Class BuildTools

Contains the tools needed for building mod assemblies

Inheritance
object
BuildTools
Namespace: WeaverCore.Editor.Compilation
Assembly: WeaverCore.Editor.dll
Syntax
public static class BuildTools

Fields

| Edit this page View Source

WeaverCoreBuildLocation

The default build location for WeaverCore

Declaration
public static FileInfo WeaverCoreBuildLocation
Field Value
Type Description
FileInfo

Properties

| Edit this page View Source

WeaverCoreFolder

The folder that contains all of WeaverCore's assets

Declaration
public static DirectoryInfo WeaverCoreFolder { get; }
Property Value
Type Description
DirectoryInfo

Methods

| Edit this page View Source

BuildHollowKnightAsm(FileInfo)

Builds a DLL using the scripts from WeaverCore/Hollow Knight

Declaration
public static IAsyncBuildTask<BuildTools.BuildOutput> BuildHollowKnightAsm(FileInfo outputPath)
Parameters
Type Name Description
FileInfo outputPath

The path the file will be placed

Returns
Type Description
IAsyncBuildTask<BuildTools.BuildOutput>
| Edit this page View Source

BuildMod()

Starts the mod assembly build process

Declaration
public static void BuildMod()
| Edit this page View Source

BuildMod(FileInfo)

Stars the mod assembly build process

Declaration
public static void BuildMod(FileInfo outputPath)
Parameters
Type Name Description
FileInfo outputPath

The output location of the mod assembly

| Edit this page View Source

BuildPartialWeaverCore(FileInfo)

Builds a WeaverCore DLL without any resources embedded into it. This also runs BuildHollowKnightAsm(FileInfo) and puts it into the same output directory, since WeaverCore depends on it

Declaration
public static IAsyncBuildTask<BuildTools.BuildOutput> BuildPartialWeaverCore(FileInfo outputPath)
Parameters
Type Name Description
FileInfo outputPath
Returns
Type Description
IAsyncBuildTask<BuildTools.BuildOutput>

The output file

| Edit this page View Source

BuildWeaverCore()

Builds the "WeaverCore.dll" assembly

Declaration
public static void BuildWeaverCore()
| Edit this page View Source

BuildWeaverCore(FileInfo)

Builds the "WeaverCore.dll" assembly

Declaration
public static void BuildWeaverCore(FileInfo outputPath)
Parameters
Type Name Description
FileInfo outputPath

The output location of the "WeaverCore.dll" assembly

| Edit this page View Source

BuildWeaverCoreGameAsm()

Builds the WeaverCore.Game Assembly

Declaration
public static void BuildWeaverCoreGameAsm()
| Edit this page View Source

BuildWeaverCoreGameAsm(FileInfo)

Builds the WeaverCore.Game Assembly

Declaration
public static void BuildWeaverCoreGameAsm(FileInfo outputPath)
Parameters
Type Name Description
FileInfo outputPath

The output path of the build. If set to null, it will be placed in the default build location

| Edit this page View Source

GetModBuildFileLocation()

Gets the full path of where the mod assembly is going to be placed in

Declaration
public static string GetModBuildFileLocation()
Returns
Type Description
string
| Edit this page View Source

GetModBuildFolder()

Gets the location of where the mod assembly is going to be placed in

Declaration
public static string GetModBuildFolder()
Returns
Type Description
string
| Edit this page View Source

OnBuildFinish()

Called when a mod assembly build is completed

Declaration
public static void OnBuildFinish()
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾