Search Results for

    Show / Hide Table of Contents

    Class Hint

    Useful class to save hint configs in a cleaner way.

    Inheritance
    System.Object
    Hint
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.API.Features
    Assembly: Exiled.API.dll
    Syntax
    public class Hint

    Constructors

    | Improve this Doc View Source

    Hint()

    Initializes a new instance of the Hint class.

    Declaration
    public Hint()
    | Improve this Doc View Source

    Hint(String, Single, Boolean)

    Initializes a new instance of the Hint class.

    Declaration
    public Hint(string content, float duration = 3F, bool show = true)
    Parameters
    Type Name Description
    System.String content

    The content of the hint>.

    System.Single duration

    The duration of the hint, in seconds.

    System.Boolean show

    Whether or not the hint should be shown.

    Properties

    | Improve this Doc View Source

    Content

    Gets or sets the hint content.

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Duration

    Gets or sets the hint duration.

    Declaration
    public float Duration { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Show

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

    Declaration
    public bool Show { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    ToString()

    Returns the hint in a human-readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string containing hint-related data.

    Overrides
    System.Object.ToString()

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX