libBeatsaber/src/beatset.cpp

16 lines
356 B
C++
Raw Normal View History

2021-05-30 21:56:21 +02:00
#include "beatsetimpl.h"
#include <nlohmann/json.hpp>
namespace Beatsaber {
BeatSetImpl::BeatSetImpl(const json& j) : characteristic(BeatmapCharacteristic::getByString(j["_beatmapCharacteristicName"])) {
}
BeatSetImpl::~BeatSetImpl() {}
BeatmapCharacteristic::BeatmapCharacteristic BeatSetImpl::getCharacteristic() const {
return characteristic;
}
}