Show / Hide Table of Contents

Class Smelters

Helper to get existing smelter names
Inheritance
object
Smelters
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public static class Smelters

Properties

Name Description
Bathtub Bathtub
BlastFurnace Blast furnace
CharcoalKiln Charcoal kiln
EitrRefinery Eitr refinery
Smelter Smelter
SpinningWheel Spinning wheel
Windmill Windmill

Methods

Name Description
GetAcceptableValueList() Get a BepInEx.Configuration.AcceptableValueList<T> of all smelter names. This can be used to create a BepInEx.Configuration.ConfigEntry<T> where only valid smelter can be selected.

Example:
var smelterConfig = Config.Bind("Section", "Key", nameof(Smelters.Smelter), new ConfigDescription("Description", Smelters.GetAcceptableValueList()));
GetInternalName(string) Get the internal name for a smelter from its human readable name.
GetNames() Gets the human readable name to internal names map
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾