LeviLamina
Loading...
Searching...
No Matches
SharedData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/config/ChatRestrictionLevel.h"
7#include "mc/config/player_capabilities/ISharedData.h"
8
9// auto generated forward declare list
10// clang-format off
11class Level;
12struct GameRuleId;
13// clang-format on
14
15namespace PlayerCapabilities {
16
17struct SharedData : public ::PlayerCapabilities::ISharedData {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Level const&> mLevel;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 SharedData& operator=(SharedData const&);
27 SharedData(SharedData const&);
28 SharedData();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::optional<bool> isGameRuleEnabled(::GameRuleId const rule) const /*override*/;
34
35 virtual ::ChatRestrictionLevel getChatRestrictionLevel() const /*override*/;
36
37 virtual ~SharedData() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCNAPI ::std::optional<bool> $isGameRuleEnabled(::GameRuleId const rule) const;
44
45 MCNAPI ::ChatRestrictionLevel $getChatRestrictionLevel() const;
46
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
56
57} // namespace PlayerCapabilities
Definition Level.h:249
Definition GameRuleId.h:8
Definition ISharedData.h:15
MCAPI::ChatRestrictionLevel $getChatRestrictionLevel() const
MCAPI ::std::optional< bool > $isGameRuleEnabled(::GameRuleId const rule) const
static MCAPI void ** $vftable()