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 MCNAPI_C void reset();
50
51 MCNAPI_C void resetLevelDataPointer();
52
53 MCNAPI_C void setLevelData(::ILevelListCache& levelListCache, ::std::string const& levelId);
54
55 MCNAPI_C void setLevelData_DEPRECATED(::LevelData& levelData);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCNAPI void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67#ifdef LL_PLAT_C
68 MCNAPI void $onLevelUpdated(::std::string const& levelId);
69
70 MCNAPI void $onLevelDeleted(::std::string const& levelId);
71
72 MCNAPI void $onStorageChanged();
73#endif
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition ILevelListCache.h:27
MCAPI void $dtor()
static MCAPI void ** $vftable()
Definition LevelData.h:50
Definition LevelListCacheObserver.h:13
Definition Alias.h:14