Table of Contents

Class DefaultInspectorHeaderConfig

Namespace
MonkeyLoader.Resonite.UI.Inspectors
Assembly
MonkeyLoader.Resonite.Integration.dll

Represents the config for the MonkeyLoader.Resonite.UI.Inspectors.DefaultInspectorHeaderHandler.

public sealed class DefaultInspectorHeaderConfig : SingletonConfigSection<DefaultInspectorHeaderConfig>, INestedIdentifiable<Config>, INestedIdentifiable, IIdentifiableOwner<ConfigSection, IDefiningConfigKey>, IIdentifiableOwner<IDefiningConfigKey>, IIdentifiable, IPrioritizable
Inheritance
DefaultInspectorHeaderConfig
Implements
Inherited Members
Extension Methods

Properties

Description

Gets a description of the config items found in this section.

public override string Description { get; }

Property Value

string

DestroyOffset

Gets the Order Offset share for the Destroy button on Inspector Headers.

public ConfigKeySessionShare<int, long> DestroyOffset { get; }

Property Value

ConfigKeySessionShare<int, long>

DuplicateOffset

Gets the Order Offset share for the Duplicate button on Inspector Headers.

public ConfigKeySessionShare<int, long> DuplicateOffset { get; }

Property Value

ConfigKeySessionShare<int, long>

Id

Gets the mod-unique identifier of this section.

public override string Id { get; }

Property Value

string

OffsetRange

Gets the range component used for the offset of FrooxEngine.WorkerInspector header items.

public static ConfigKeyRange<int> OffsetRange { get; }

Property Value

ConfigKeyRange<int>

OpenContainerOffset

Gets the Order Offset share for the Open Container button on Inspector Headers.

public ConfigKeySessionShare<int, long> OpenContainerOffset { get; }

Property Value

ConfigKeySessionShare<int, long>

Version

Gets the semantic version for this config section.
This is used to check if the defined and saved configs are compatible.

public override Version Version { get; }

Property Value

Version

WorkerNameOffset

Gets the Order Offset share for the Worker Name button on Inspector Headers.

public ConfigKeySessionShare<int, long> WorkerNameOffset { get; }

Property Value

ConfigKeySessionShare<int, long>

Methods

MakeOffsetRangeShare(int)

Makes a new session share component used for the offset of FrooxEngine.WorkerInspector header items, optionally using the given default.

public static ConfigKeySessionShare<int, long> MakeOffsetRangeShare(int defaultValue = 0)

Parameters

defaultValue int

The default value for the shared config item for users that don't have it themselves.

Returns

ConfigKeySessionShare<int, long>

The newly created share component with the optional default.