Class IdentifiedKeyRevision
Namespace: Void.Minecraft.Profiles
Assembly: Void.Minecraft.dll
Describes a key revision and the protocol versions it applies to.
public record IdentifiedKeyRevision : IEquatable<IdentifiedKeyRevision>Inheritance
object ← IdentifiedKeyRevision
Implements
IEquatable<IdentifiedKeyRevision>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
IdentifiedKeyRevision(IEnumerable<IdentifiedKeyRevision>, List<ProtocolVersion>)
Describes a key revision and the protocol versions it applies to.
public IdentifiedKeyRevision(IEnumerable<IdentifiedKeyRevision> BackwardsCompatibleTo, List<ProtocolVersion> ApplicableTo)Parameters
BackwardsCompatibleTo IEnumerable<IdentifiedKeyRevision>
Revision identifiers that remain valid for this revision.
ApplicableTo List<ProtocolVersion>
The protocol versions that use this revision.
Fields
GenericV1Revision
public static readonly IdentifiedKeyRevision GenericV1RevisionField Value
LinkedV2Revision
public static readonly IdentifiedKeyRevision LinkedV2RevisionField Value
Properties
ApplicableTo
The protocol versions that use this revision.
public List<ProtocolVersion> ApplicableTo { get; init; }Property Value
BackwardsCompatibleTo
Revision identifiers that remain valid for this revision.
public IEnumerable<IdentifiedKeyRevision> BackwardsCompatibleTo { get; init; }