LeviLamina
Loading...
Searching...
No Matches
LevelDataWrapper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/LevelListCacheObserver.h"
7
8// auto generated forward declare list
9// clang-format off
10class ILevelListCache;
11class LevelData;
12// clang-format on
13
14class LevelDataWrapper : public ::LevelListCacheObserver {
15public:
16 // member variables
17 // NOLINTBEGIN
21 // NOLINTEND
22
23#ifdef LL_PLAT_S
24public:
25 // prevent constructor by default
26 LevelDataWrapper& operator=(LevelDataWrapper const&);
27 LevelDataWrapper(LevelDataWrapper const&);
28 LevelDataWrapper();
29
30#else // LL_PLAT_C
31public:
32 // prevent constructor by default
33 LevelDataWrapper& operator=(LevelDataWrapper const&);
34 LevelDataWrapper(LevelDataWrapper const&);
35
36#endif
37public:
38 // virtual functions
39 // NOLINTBEGIN
40#ifdef LL_PLAT_S
41 virtual void onLevelUpdated(::std::string const&) /*override*/;
42#else // LL_PLAT_C
43 virtual void onLevelUpdated(::std::string const& levelId) /*override*/;
44#endif
45
46#ifdef LL_PLAT_S
47 virtual void onLevelDeleted(::std::string const&) /*override*/;
48#else // LL_PLAT_C
49 virtual void onLevelDeleted(::std::string const& levelId) /*override*/;
50#endif
51
52 virtual void onStorageChanged() /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58#ifdef LL_PLAT_C
59 MCNAPI LevelDataWrapper();
60
61 MCNAPI ::LevelData& operator*();
62
63 MCNAPI ::LevelData const* operator->() const;
64
65 MCNAPI ::LevelData* operator->();
66
67 MCNAPI void reset();
68
69 MCNAPI void resetLevelDataPointer();
70
71 MCNAPI void setLevelData(::ILevelListCache& levelListCache, ::std::string const& levelId);
72
73 MCNAPI void setLevelData_DEPRECATED(::LevelData& levelData);
74#endif
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80#ifdef LL_PLAT_C
81 MCNAPI void* $ctor();
82#endif
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88#ifdef LL_PLAT_C
89 MCNAPI void $onLevelUpdated(::std::string const& levelId);
90
91 MCNAPI void $onLevelDeleted(::std::string const& levelId);
92
93 MCNAPI void $onStorageChanged();
94#endif
95
96
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
Definition ILevelListCache.h:27
static MCAPI void ** $vftable()
Definition LevelData.h:55
Definition LevelListCacheObserver.h:13
Definition Alias.h:14