LeviLamina
Loading...
Searching...
No Matches
SimplePlayerContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/ContainerType.h"
7#include "mc/world/SimpleContainer.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemStack;
12class Player;
13// clang-format on
14
15class SimplePlayerContainer : public ::SimpleContainer {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 SimplePlayerContainer& operator=(SimplePlayerContainer const&);
25 SimplePlayerContainer(SimplePlayerContainer const&);
26 SimplePlayerContainer();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~SimplePlayerContainer() /*override*/ = default;
32
33 virtual ::ItemStack const& getItem(int slot) const /*override*/;
34
35 virtual void setItem(int slot, ::ItemStack const& item) /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI SimplePlayerContainer(
42 ::Player& player,
43 ::std::string const& name,
44 bool customName,
45 int size,
46 ::SharedTypes::Legacy::ContainerType containerType
47 );
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(
54 ::Player& player,
55 ::std::string const& name,
56 bool customName,
57 int size,
58 ::SharedTypes::Legacy::ContainerType containerType
59 );
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::ItemStack const& $getItem(int slot) const;
66
67 MCAPI void $setItem(int slot, ::ItemStack const& item);
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition ItemStack.h:35
Definition Player.h:137