Table of Contents

Struct LaneNote<TLane>

Namespace
ChartTools
Assembly
ChartTools.dll
public readonly struct LaneNote<TLane> : IDefinedLaneNote<TLane>, ILaneNote<TLane>, ILaneNote, INote, IReadOnlyLongObject, IEquatable<LaneNote<TLane>> where TLane : struct, Enum

Type Parameters

TLane
Implements
ILaneNote<TLane>
Inherited Members
Extension Methods

Constructors

LaneNote(TLane)

public LaneNote(TLane lane)

Parameters

lane TLane

Properties

Index

public byte Index { get; }

Property Value

byte

Lane

public TLane Lane { get; init; }

Property Value

TLane

Sustain

public uint Sustain { get; init; }

Property Value

uint

Methods

Equals(LaneNote<TLane>)

public bool Equals(LaneNote<TLane> other)

Parameters

other LaneNote<TLane>

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(LaneNote<TLane>, LaneNote<TLane>)

public static bool operator ==(LaneNote<TLane> left, LaneNote<TLane> right)

Parameters

left LaneNote<TLane>
right LaneNote<TLane>

Returns

bool

operator !=(LaneNote<TLane>, LaneNote<TLane>)

public static bool operator !=(LaneNote<TLane> left, LaneNote<TLane> right)

Parameters

left LaneNote<TLane>
right LaneNote<TLane>

Returns

bool

Explicit Interface Implementations

MaxLanes

static byte MaxLanes { get; }

Returns

byte

OpenExclusivity

static bool OpenExclusivity { get; }

Returns

bool