Skip to content

Class GameProfile

Namespace: Void.Minecraft.Profiles
Assembly: Void.Minecraft.dll

public record GameProfile : IEquatable<GameProfile>

Inheritance

objectGameProfile

Implements

IEquatable<GameProfile>

Inherited Members

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

Constructors

GameProfile(string, Uuid, Property[]?)

public GameProfile(string Username, Uuid Id = default, Property[]? Properties = null)

Parameters

Username string

Id Uuid

Properties Property[]?

Properties

Id

[JsonConverter(typeof(UuidJsonConverter))]
public Uuid Id { get; init; }

Property Value

Uuid

Properties

public Property[]? Properties { get; init; }

Property Value

Property[]?

Username

[JsonPropertyName("name")]
public string Username { get; init; }

Property Value

string