Skip to content

Class LiteralMessage

Namespace: Void.Minecraft.Commands.Brigadier
Assembly: Void.Minecraft.dll

Represents an immutable literal command message.

public record LiteralMessage : IMessage, IEquatable<LiteralMessage>

Inheritance

objectLiteralMessage

Implements

IMessage, IEquatable<LiteralMessage>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

LiteralMessage(string)

Represents an immutable literal command message.

public LiteralMessage(string Value)

Parameters

Value string

The message text.

Properties

Value

The message text.

public string Value { get; init; }

Property Value

string