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
AlwaysShowLocomotion
Gets whether to show the locomotion selection even when a tool is equipped.
public bool AlwaysShowLocomotion { get; }
Property Value
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
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
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
Description
Gets the optional human-readable description to display for this item.
public override string Description { get; }
Property Value
Remarks
By default: null.
Id
Gets the mod-unique identifier of this section.
public override string Id { get; }
Property Value
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
ShowResetScaleWithToggle
Gets whether to show the reset scale action alongside the scaling toggle when it is always allowed.
public bool ShowResetScaleWithToggle { get; }
Property Value
ShowSaveLocation
Gets whether to show the current inventory path when trying to save something.
public bool ShowSaveLocation { 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; }