LeviLamina
Loading...
Searching...
No Matches
PlayerData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/config/player_capabilities/IPlayerData.h"
7#include "mc/world/actor/player/AbilitiesIndex.h"
8
9// auto generated forward declare list
10// clang-format off
11class Player;
12// clang-format on
13
14namespace PlayerCapabilities {
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Player const&> mPlayer;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 PlayerData& operator=(PlayerData const&);
26 PlayerData(PlayerData const&);
27 PlayerData();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual bool isAbilityEnabled(::AbilitiesIndex ability) const /*override*/;
34
35 // vIndex: 2
36 virtual bool isTeacher() const /*override*/;
37
38 // vIndex: 3
39 virtual bool isOperator() const /*override*/;
40
41 // vIndex: 0
42 virtual ~PlayerData() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCNAPI bool $isAbilityEnabled(::AbilitiesIndex ability) const;
49
50 MCNAPI bool $isTeacher() const;
51
52 MCNAPI bool $isOperator() const;
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
61
62} // namespace PlayerCapabilities
Definition PlayerData.h:16
MCAPI bool $isOperator() const
MCAPI bool $isAbilityEnabled(::AbilitiesIndex ability) const
static MCAPI void ** $vftable()
MCAPI bool $isTeacher() const
Definition Player.h:119
Definition IPlayerData.h:10