Add accessors.
This commit is contained in:
@@ -86,6 +86,16 @@ void Notes::GetNoteData( NoteData* pNoteDataOut ) const
|
||||
NoteDataUtil::LoadFromSMNoteDataString( *pNoteDataOut, m_sSMNoteData );
|
||||
}
|
||||
|
||||
void Notes::SetSMNoteData( const CString &out )
|
||||
{
|
||||
m_sSMNoteData = out;
|
||||
}
|
||||
|
||||
CString Notes::GetSMNoteData() const
|
||||
{
|
||||
return m_sSMNoteData;
|
||||
}
|
||||
|
||||
// Color is a function of Difficulty and Intended Style
|
||||
NotesDisplayType Notes::GetNotesDisplayType() const
|
||||
{
|
||||
|
||||
@@ -48,6 +48,9 @@ public:
|
||||
CString m_sSMNoteData;
|
||||
void GetNoteData( NoteData* pNoteDataOut ) const;
|
||||
void SetNoteData( NoteData* pNewNoteData );
|
||||
void SetSMNoteData( const CString &out );
|
||||
CString GetSMNoteData() const;
|
||||
|
||||
NotesDisplayType GetNotesDisplayType() const;
|
||||
RageColor GetColor() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user