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
11
class
Level
;
12
struct
GameRuleId
;
13
// clang-format on
14
15
namespace
PlayerCapabilities {
16
17
struct
SharedData
:
public
::PlayerCapabilities::ISharedData
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 8, ::Level const&> mLevel;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
SharedData
& operator=(
SharedData
const
&);
27
SharedData
(
SharedData
const
&);
28
SharedData
();
29
30
public
:
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
43
public
:
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
51
public
:
52
// vftables
53
// NOLINTBEGIN
54
MCNAPI
static
void
**
$vftable
();
55
// NOLINTEND
56
};
57
58
}
// namespace PlayerCapabilities
Level
Definition
Level.h:238
GameRuleId
Definition
GameRuleId.h:8
PlayerCapabilities::ISharedData
Definition
ISharedData.h:15
PlayerCapabilities::SharedData
Definition
SharedData.h:17
PlayerCapabilities::SharedData::$getChatRestrictionLevel
MCAPI::ChatRestrictionLevel $getChatRestrictionLevel() const
PlayerCapabilities::SharedData::$isGameRuleEnabled
MCAPI ::std::optional< bool > $isGameRuleEnabled(::GameRuleId const rule) const
PlayerCapabilities::SharedData::$vftable
static MCAPI void ** $vftable()
src
mc
config
player_capabilities
SharedData.h
Generated on Fri Jun 13 2025 05:04:20 for LeviLamina by
1.12.0