ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
UserDetail.hpp
1#pragma once
2
3#include "../../../CP_SDK/Utils/Json.hpp"
4
6
7 struct UserDetail
8 {
9 int id;
10 std::u16string name;
11 std::u16string hash;
12 std::u16string avatar;
13
14 CP_SDK_JSON_OPERATORS_INLINE({
15 CP_SDK_JSON_SERIALIZE_INT32(id);
16 CP_SDK_JSON_SERIALIZE_STRING(name);
17 CP_SDK_JSON_SERIALIZE_STRING(hash);
18 CP_SDK_JSON_SERIALIZE_STRING(avatar);
19 },
20 {
21 CP_SDK_JSON_UNSERIALIZE_INT32(id);
22 CP_SDK_JSON_UNSERIALIZE_STRING(name);
23 CP_SDK_JSON_UNSERIALIZE_STRING(hash);
24 CP_SDK_JSON_UNSERIALIZE_STRING(avatar);
25 });
26 };
27
28}
BeatMaps aka BeatSaver models.
Definition MapDetail.hpp:12