Table of Contents

Class Hint

Namespace
Exiled.API.Features
Assembly
Exiled.API.dll

Useful class to save hint configs in a cleaner way.

public class Hint
Inheritance
Hint
Inherited Members
Extension Methods

Constructors

Hint()

Initializes a new instance of the Hint class.

public Hint()

Hint(string, float, bool)

Initializes a new instance of the Hint class.

public Hint(string content, float duration = 3, bool show = true)

Parameters

content string

The content of the hint>.

duration float

The duration of the hint, in seconds.

show bool

Whether the hint should be shown.

Properties

Content

Gets or sets the hint content.

public string Content { get; set; }

Property Value

string

Duration

Gets or sets the hint duration.

public float Duration { get; set; }

Property Value

float

Show

Gets or sets a value indicating whether the hint should be shown.

public bool Show { get; set; }

Property Value

bool

Methods

ToString()

Returns the hint in a human-readable format.

public override string ToString()

Returns

string

A string containing hint-related data.