RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | Friends | List of all members
gameplay_logic::BmsNotes Class Reference

#include <BmsNotes.h>

Inheritance diagram for gameplay_logic::BmsNotes:
Inheritance graph
[legend]
Collaboration diagram for gameplay_logic::BmsNotes:
Collaboration graph
[legend]

Public Member Functions

 BmsNotes ()=default
 
 BmsNotes (QList< QList< Note > > visibleNotes, QList< Time > barLines, QObject *parent=nullptr)
 
auto getNotes () -> QList< QList< Note > > &
 
auto getNotes () const -> const QList< QList< Note > > &
 
auto getBarLines () const -> const QList< Time > &
 
auto serialize () const -> QByteArray
 
auto save (db::SqliteCppDb &db, const support::Sha256 &sha256) const -> void
 

Static Public Member Functions

static auto load (db::SqliteCppDb &db, const support::Sha256 &sha256) -> std::unique_ptr< BmsNotes >
 

Properties

QListQList< Note > notes
 
QList< Time > barLines
 

Friends

auto operator<< (QDataStream &stream, const BmsNotes &notes) -> QDataStream &
 
auto operator>> (QDataStream &stream, BmsNotes &notes) -> QDataStream &
 

Constructor & Destructor Documentation

◆ BmsNotes() [1/2]

gameplay_logic::BmsNotes::BmsNotes ( )
default

◆ BmsNotes() [2/2]

gameplay_logic::BmsNotes::BmsNotes ( QList< QList< Note > >  visibleNotes,
QList< Time >  barLines,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ getBarLines()

auto gameplay_logic::BmsNotes::getBarLines ( ) const -> const QList<Time>&

◆ getNotes() [1/2]

auto gameplay_logic::BmsNotes::getNotes ( ) -> QList<QList<Note>>&

◆ getNotes() [2/2]

auto gameplay_logic::BmsNotes::getNotes ( ) const -> const QList<QList<Note>>&

◆ load()

auto gameplay_logic::BmsNotes::load ( db::SqliteCppDb &  db,
const support::Sha256 &  sha256 
) -> std::unique_ptr<BmsNotes>
static

◆ save()

auto gameplay_logic::BmsNotes::save ( db::SqliteCppDb &  db,
const support::Sha256 &  sha256 
) const -> void

◆ serialize()

auto gameplay_logic::BmsNotes::serialize ( ) const -> QByteArray

Friends And Related Symbol Documentation

◆ operator<<

auto operator<< ( QDataStream &  stream,
const BmsNotes &  notes 
) -> QDataStream&
friend

◆ operator>>

auto operator>> ( QDataStream &  stream,
BmsNotes &  notes 
) -> QDataStream&
friend

Property Documentation

◆ barLines

QList< Time > gameplay_logic::BmsNotes::barLines
read

◆ notes

QListQList<Note> gameplay_logic::BmsNotes::notes
read

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