Table of Contents

Class ContextMenusConfig

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

Contains settings for the generation of Context Menus.

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

Constructors

ContextMenusConfig()

Creates an instance of this config section once.

public ContextMenusConfig()

Exceptions

InvalidOperationException

When TConfigSection isn't the concrete type, or there is already an Instance of this config section.

Properties

AlwaysAllowScaleToggle

Gets whether to show the scaling toggle even when not at the default scale for the avatar.

public bool AlwaysAllowScaleToggle { get; }

Property Value

bool

AlwaysShowLocomotion

Gets whether to show the locomotion selection even when a tool is equipped.

public bool AlwaysShowLocomotion { get; }

Property Value

bool

AlwaysShowLocomotionOrScaling

Gets whether to show the locomotion selection, or the scaling toggle and/or reset scale action even when a tool is equipped.

public bool AlwaysShowLocomotionOrScaling { get; }

Property Value

bool

AlwaysShowScaling

Gets whether to show the scaling toggle and/or reset scale action even when a tool is equipped.

public bool AlwaysShowScaling { get; }

Property Value

bool

ContextMenuItemLimit

Gets the limit for the number of non-pagination items shown in the context menu.
If this number is exceeded, the menu will get paginated.

public int ContextMenuItemLimit { get; }

Property Value

int

Description

Gets the optional human-readable description to display for this item.

public override string Description { get; }

Property Value

string

Remarks

By default: null.

Id

Gets the mod-unique identifier of this section.

public override string Id { get; }

Property Value

string

LimitContextMenuItems

Limit the number of items shown in the context menu.
If the configured number is exceeded, the menu will get paginated.

public bool LimitContextMenuItems { get; }

Property Value

bool

ShowResetScaleWithToggle

Gets whether to show the reset scale action alongside the scaling toggle when it is always allowed.

public bool ShowResetScaleWithToggle { get; }

Property Value

bool

ShowSaveLocation

Gets whether to show the current inventory path when trying to save something.

public bool ShowSaveLocation { get; }

Property Value

bool

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