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
16class PlayerData : public ::PlayerCapabilities::IPlayerData {
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 virtual bool isAbilityEnabled(::AbilitiesIndex) const /*override*/;
33
34 virtual bool isTeacher() const /*override*/;
35
36 virtual bool isOperator() const /*override*/;
37
38 virtual ~PlayerData() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCNAPI bool $isTeacher() const;
45
46 MCNAPI bool $isOperator() const;
47
48
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
57
58} // namespace PlayerCapabilities
MCAPI bool $isOperator() const
static MCAPI void ** $vftable()
MCAPI bool $isTeacher() const
Definition Player.h:125
Definition IPlayerData.h:10