Class Property
Namespace: Void.Minecraft.Profiles
Assembly: Void.Minecraft.dll
Represents a named Minecraft profile property and its optional signature.
public record Property : IEquatable<Property>Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Property(string, string, bool, string?)
Initializes a profile property.
public Property(string name, string value, bool isSigned = false, string? signature = null)Parameters
name string
The property name.
value string
The encoded property value.
isSigned bool
Whether the property should be marked as signed when no signature text is supplied.
signature string?
The optional cryptographic signature. A nonblank signature always marks the property as signed.
Properties
IsSigned
Gets whether the property is marked as signed.
public bool IsSigned { get; init; }Property Value
Name
Gets the property name.
public string Name { get; init; }Property Value
Signature
Gets the optional property signature.
public string? Signature { get; init; }Property Value
Value
Gets the encoded property value.
public string Value { get; init; }