LeviLamina
Loading...
Searching...
No Matches
PropertyBag.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/json/Value.h"
7
8class PropertyBag {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 16, ::Json::Value> mJsonValue;
13 ::ll::TypedStorage<4, 4, int> mChangeVersion;
14 // NOLINTEND
15
16#ifdef LL_PLAT_S
17#else // LL_PLAT_C
18public:
19 // prevent constructor by default
20 PropertyBag();
21
22#endif
23public:
24 // member functions
25 // NOLINTBEGIN
26#ifdef LL_PLAT_C
27 MCAPI explicit PropertyBag(::std::string const& serializedJson);
28
29 MCAPI bool has(::std::string_view key) const;
30#endif
31 // NOLINTEND
32
33public:
34 // static variables
35 // NOLINTBEGIN
36 MCAPI static ::PropertyBag& EMPTY();
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42#ifdef LL_PLAT_C
43 MCAPI void* $ctor(::std::string const& serializedJson);
44#endif
45 // NOLINTEND
46};