Struct DrumsNote
- Namespace
- ChartTools
- Assembly
- ChartTools.dll
Note played by drums
public readonly struct DrumsNote : IDefinedLaneNote<DrumsLane>, ILaneNote<DrumsLane>, ILaneNote, INote, IReadOnlyLongObject, IEquatable<DrumsNote>
- Implements
- Inherited Members
- Extension Methods
Constructors
DrumsNote(DrumsLane)
public DrumsNote(DrumsLane lane)
Parameters
laneDrumsLane
Properties
Index
Numerical value of the note identity
public byte Index { get; }
Property Value
IsCymbal
true if the cymbal must be hit instead of the pad on supported drum sets
public bool IsCymbal { get; init; }
Property Value
Remarks
Green5Lane notes cannot be cymbal.
IsKick
Determines if the note is played by kicking
public bool IsKick { get; }
Property Value
Lane
public DrumsLane Lane { get; init; }
Property Value
Sustain
Maximum length the note can be held for extra points
public uint Sustain { get; init; }
Property Value
Methods
Equals(DrumsNote)
public bool Equals(DrumsNote other)
Parameters
otherDrumsNote
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(DrumsNote, DrumsNote)
public static bool operator ==(DrumsNote left, DrumsNote right)
Parameters
Returns
operator !=(DrumsNote, DrumsNote)
public static bool operator !=(DrumsNote left, DrumsNote right)
Parameters
Returns
Explicit Interface Implementations
MaxLanes
static byte MaxLanes { get; }
Returns
OpenExclusivity
static bool OpenExclusivity { get; }