Class HeaderSetting
- Namespace
- Exiled.API.Features.Core.UserSettings
- Assembly
- Exiled.API.dll
Represents a header setting.
public class HeaderSetting : SettingBase, IWrapper<ServerSpecificSettingBase>, IWrapper<SSGroupHeader>- Inheritance
- 
      
      
      
      HeaderSetting
- Inherited Members
- Extension Methods
Constructors
HeaderSetting(int, string, string, bool)
Initializes a new instance of the HeaderSetting class.
public HeaderSetting(int id, string name, string hintDescription = "", bool padding = false)Parameters
HeaderSetting(string, string, bool)
Initializes a new instance of the HeaderSetting class.
[Obsolete("Use constructor with Id, old headers will use random number based on headers name")]
public HeaderSetting(string name, string hintDescription, bool paddling)Parameters
Properties
Base
Gets the base UserSettings.ServerSpecific.SSGroupHeader that this class is wrapping.
public SSGroupHeader Base { get; }Property Value
- SSGroupHeader
ReducedPaddling
Gets or sets a value indicating whether to reduce padding.
public bool ReducedPaddling { get; set; }Property Value
Methods
ToString()
Returns a representation of this HeaderSetting.
public override string ToString()Returns
- string
- A string in human-readable format.