Table of Contents

Class ProfileDataComponent

Namespace
Obsidian.API.Inventory.DataComponents
Assembly
Obsidian.API.dll
public sealed record ProfileDataComponent : IDataComponent, IEquatable<ProfileDataComponent>
Inheritance
ProfileDataComponent
Implements
Inherited Members

Constructors

ProfileDataComponent()

public ProfileDataComponent()

Properties

Id

public Guid? Id { get; set; }

Property Value

Guid?

Identifier

public string Identifier { get; }

Property Value

string

Properties

public List<SkinProperty> Properties { get; set; }

Property Value

List<SkinProperty>

Type

public DataComponentType Type { get; }

Property Value

DataComponentType

Username

public string? Username { get; set; }

Property Value

string

Methods

Equals(ProfileDataComponent?)

public bool Equals(ProfileDataComponent? other)

Parameters

other ProfileDataComponent

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Read(INetStreamReader)

public void Read(INetStreamReader reader)

Parameters

reader INetStreamReader

ToString()

public override string ToString()

Returns

string

Write(INetStreamWriter)

public void Write(INetStreamWriter writer)

Parameters

writer INetStreamWriter

Operators

operator ==(ProfileDataComponent?, ProfileDataComponent?)

public static bool operator ==(ProfileDataComponent? left, ProfileDataComponent? right)

Parameters

left ProfileDataComponent
right ProfileDataComponent

Returns

bool

operator !=(ProfileDataComponent?, ProfileDataComponent?)

public static bool operator !=(ProfileDataComponent? left, ProfileDataComponent? right)

Parameters

left ProfileDataComponent
right ProfileDataComponent

Returns

bool