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
DestroyOffset
Gets the Order Offset share for the Destroy button on Inspector Headers.
public ConfigKeySessionShare<int, long> DestroyOffset { get; }
Property Value
DuplicateOffset
Gets the Order Offset share for the Duplicate button on Inspector Headers.
public ConfigKeySessionShare<int, long> DuplicateOffset { get; }
Property Value
Id
Gets the mod-unique identifier of this section.
public override string Id { get; }
Property Value
OffsetRange
Gets the range component used for the offset of FrooxEngine.WorkerInspector header items.
public static ConfigKeyRange<int> OffsetRange { get; }
Property Value
OpenContainerOffset
Gets the Order Offset share for the Open Container button on Inspector Headers.
public ConfigKeySessionShare<int, long> OpenContainerOffset { get; }
Property Value
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
WorkerNameOffset
Gets the Order Offset share for the Worker Name button on Inspector Headers.
public ConfigKeySessionShare<int, long> WorkerNameOffset { get; }
Property Value
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
intThe 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.