ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
MapDetailMetadata.hpp
1#pragma once
2
3#include "../../../CP_SDK/Utils/Json.hpp"
4
6
8 {
9 float bpm = 0;
10 int duration = 0;
11 std::u16string songName = u"";
12 std::u16string songSubName = u"";
13 std::u16string songAuthorName = u"";
14 std::u16string levelAuthorName = u"";
15
16 CP_SDK_JSON_OPERATORS_INLINE({
17 CP_SDK_JSON_SERIALIZE_FLOAT(bpm);
18 CP_SDK_JSON_SERIALIZE_INT32(duration);
19 CP_SDK_JSON_SERIALIZE_STRING(songName);
20 CP_SDK_JSON_SERIALIZE_STRING(songSubName);
21 CP_SDK_JSON_SERIALIZE_STRING(songAuthorName);
22 CP_SDK_JSON_SERIALIZE_STRING(levelAuthorName);
23 },
24 {
25 CP_SDK_JSON_UNSERIALIZE_FLOAT(bpm);
26 CP_SDK_JSON_UNSERIALIZE_INT32(duration);
27 CP_SDK_JSON_UNSERIALIZE_STRING(songName);
28 CP_SDK_JSON_UNSERIALIZE_STRING(songSubName);
29 CP_SDK_JSON_UNSERIALIZE_STRING(songAuthorName);
30 CP_SDK_JSON_UNSERIALIZE_STRING(levelAuthorName);
31 });
32 };
33
34}
BeatMaps aka BeatSaver models.
Definition MapDetail.hpp:12