Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TapNote Struct Reference

The various properties of a tap note. More...

#include <NoteTypes.h>

Collaboration diagram for TapNote:
Collaboration graph
[legend]

Public Member Functions

auto CreateNode () const -> XNode *
 
void LoadFromNode (const XNode *pNode)
 
void PushSelf (lua_State *L)
 
auto IsNote () const -> bool
 
void Init ()
 
 TapNote (TapNoteType type_, TapNoteSubType subType_, TapNoteSource source_, int iKeysoundIndex_)
 
auto operator== (const TapNote &other) const -> bool
 Determine if the two TapNotes are equal to each other.
 
auto operator!= (const TapNote &other) const -> bool
 Determine if the two TapNotes are not equal to each other.
 

Public Attributes

TapNoteType type { TapNoteType_Empty }
 The core note type that is about to cross the target area.
 
TapNoteSubType subType { TapNoteSubType_Invalid }
 The sub type of the note. This is only used if the type is hold_head.
 
TapNoteSource source { TapNoteSource_Original }
 The originating source of the TapNote.
 
TapNoteResult result
 The result of hitting or missing the TapNote.
 
int iKeysoundIndex { -1 }
 
int iDuration { 0 }
 
HoldNoteResult HoldResult
 

Detailed Description

The various properties of a tap note.

Member Function Documentation

◆ operator!=()

auto TapNote::operator!= ( const TapNote other) const -> bool
inline

Determine if the two TapNotes are not equal to each other.

Parameters
otherthe other TapNote we're checking.
Returns
true if the two TapNotes are not equal, or false otherwise.

◆ operator==()

auto TapNote::operator== ( const TapNote other) const -> bool
inline

Determine if the two TapNotes are equal to each other.

Parameters
otherthe other TapNote we're checking.
Returns
true if the two TapNotes are equal, or false otherwise.

The documentation for this struct was generated from the following files: