Table of Contents

Class LodestoneTrackerDataComponent

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

Constructors

LodestoneTrackerDataComponent()

public LodestoneTrackerDataComponent()

Properties

Identifier

public string Identifier { get; }

Property Value

string

Target

public GlobalPosition? Target { get; set; }

Property Value

GlobalPosition?

Tracked

public bool Tracked { get; set; }

Property Value

bool

Type

public DataComponentType Type { get; }

Property Value

DataComponentType

Methods

Equals(LodestoneTrackerDataComponent?)

public bool Equals(LodestoneTrackerDataComponent? other)

Parameters

other LodestoneTrackerDataComponent

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 ==(LodestoneTrackerDataComponent?, LodestoneTrackerDataComponent?)

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

Parameters

left LodestoneTrackerDataComponent
right LodestoneTrackerDataComponent

Returns

bool

operator !=(LodestoneTrackerDataComponent?, LodestoneTrackerDataComponent?)

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

Parameters

left LodestoneTrackerDataComponent
right LodestoneTrackerDataComponent

Returns

bool