Table of Contents

Class ConfigValue

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

One plugin config entry as a process holds it now. Value and DefaultValue are written as BepInEx writes them to the config file (true, 5, 1.5). Installed is false when the plugin is not loaded in that process, Found when it has no entry with that section and key.

public sealed record ConfigValue
Inheritance
object
ConfigValue

Constructors

ConfigValue(string, string, string, bool, bool, bool, string?, string?, string?)

One plugin config entry as a process holds it now. Value and DefaultValue are written as BepInEx writes them to the config file (true, 5, 1.5). Installed is false when the plugin is not loaded in that process, Found when it has no entry with that section and key.

public ConfigValue(string Guid, string Section, string Key, bool Server, bool Installed, bool Found, string? Type, string? Value, string? DefaultValue)

Parameters

Guid string
Section string
Key string
Server bool
Installed bool
Found bool
Type string
Value string
DefaultValue string

Properties

DefaultValue

public string? DefaultValue { get; init; }

Property Value

string

Found

public bool Found { get; init; }

Property Value

bool

Guid

public string Guid { get; init; }

Property Value

string

Installed

public bool Installed { get; init; }

Property Value

bool

Key

public string Key { get; init; }

Property Value

string

Section

public string Section { get; init; }

Property Value

string

Server

public bool Server { get; init; }

Property Value

bool

Type

public string? Type { get; init; }

Property Value

string

Value

public string? Value { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.