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
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 // vIndex: 1
34 virtual ::std::optional<bool> isGameRuleEnabled(::GameRuleId const rule) const /*override*/;
35
36 // vIndex: 2
37 virtual ::ChatRestrictionLevel getChatRestrictionLevel() const /*override*/;
38
39 // vIndex: 0
40 virtual ~SharedData() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCNAPI ::std::optional<bool> $isGameRuleEnabled(::GameRuleId const rule) const;
47
48 MCNAPI ::ChatRestrictionLevel $getChatRestrictionLevel() const;
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
57
58} // namespace PlayerCapabilities
Definition Level.h:238
Definition GameRuleId.h:8
Definition ISharedData.h:15
Definition SharedData.h:17
MCAPI::ChatRestrictionLevel $getChatRestrictionLevel() const
MCAPI ::std::optional< bool > $isGameRuleEnabled(::GameRuleId const rule) const
static MCAPI void ** $vftable()