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
23public:
24 // prevent constructor by default
25 LevelDataWrapper& operator=(LevelDataWrapper const&);
26 LevelDataWrapper(LevelDataWrapper const&);
27 LevelDataWrapper();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual void onLevelUpdated(::std::string const& levelId) /*override*/;
33
34 virtual void onLevelDeleted(::std::string const& levelId) /*override*/;
35
36 virtual void onStorageChanged() /*override*/;
37
38#ifdef LL_PLAT_S
39 virtual ~LevelDataWrapper() /*override*/ = default;
40#else // LL_PLAT_C
41 virtual ~LevelDataWrapper() /*override*/;
42#endif
43
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCNAPI void reset();
51
52 MCNAPI void resetLevelDataPointer();
53
54 MCNAPI void setLevelData(::ILevelListCache& levelListCache, ::std::string const& levelId);
55
56 MCNAPI void setLevelData_DEPRECATED(::LevelData& levelData);
57#endif
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCNAPI void $dtor();
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCNAPI void $onLevelUpdated(::std::string const& levelId);
71
72 MCNAPI void $onLevelDeleted(::std::string const& levelId);
73
74 MCNAPI void $onStorageChanged();
75#endif
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition ILevelListCache.h:27
MCAPI void $dtor()
static MCAPI void ** $vftable()
Definition LevelData.h:52
Definition LevelListCacheObserver.h:13
Definition Alias.h:14