Show / Hide Table of Contents

Class Fermenters

Helper to get existing fermenter names
Inheritance
object
Fermenters
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 class Fermenters

Properties

Name Description
Fermenter Fermenter

Methods

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

Example:
var fermenterConfig = Config.Bind("Section", "Key", nameof(Fermenters.Fermenter), new ConfigDescription("Description", Fermenters.GetAcceptableValueList()));
GetInternalName(string) Get the internal name for a fermenter from its human readable name.
GetNames() Gets the human readable name to internal names map

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾