Class SynchronizationModeAttribute
This attribute is used to determine how Jotunn should enforce synchronization of Config Entries.
Only relevant for Config Entries that have the IsAdminOnly applied.
Only relevant for Config Entries that have the IsAdminOnly applied.
Implements
Inherited Members
Namespace: Jotunn.Utils
Assembly: Jotunn.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class)]
public class SynchronizationModeAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
SynchronizationModeAttribute(AdminOnlyStrictness) | Synchronization mode Attribute |
Properties
Name | Description |
---|---|
EnforceAdminOnly | AdminOnly ConfigEntry Strictness |
Methods
Name | Description |
---|---|
ShouldAlwaysEnforceAdminOnly() | Check if AdminOnly Config Entries should always be locked if player is not an admin. |