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

The result of hitting (or missing) a tap note. More...

#include <NoteTypes.h>

Public Member Functions

 TapNoteResult ()=default
 Set up the TapNoteResult with default values. The default offset value should be 1 not 0 as to diffrentiate from 0 offset hits, idiots -Mina.
 
auto CreateNode () const -> XNode *
 
void LoadFromNode (const XNode *pNode)
 
void PushSelf (lua_State *L)
 

Public Attributes

TapNoteScore tns { TNS_None }
 The TapNoteScore that was achieved by the player.
 
float fTapNoteOffset { 1.F }
 Offset, in seconds, for a tap grade.
 
bool bHidden { false }
 If the whole row has been judged, all taps on the row will be set to hidden.
 

Detailed Description

The result of hitting (or missing) a tap note.

Member Data Documentation

◆ fTapNoteOffset

float TapNoteResult::fTapNoteOffset { 1.F }

Offset, in seconds, for a tap grade.

Negative numbers mean the note was hit early; positive numbers mean it was hit late. These values are only meaningful for graded taps (tns >= TNS_W5).


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