Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
HudContainerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/models/ContainerModel.h"
7
8// auto generated forward declare list
9// clang-format off
10class Container;
12class Player;
13// clang-format on
14
15class HudContainerModel : public ::ContainerModel {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 HudContainerModel& operator=(HudContainerModel const&);
25 HudContainerModel(HudContainerModel const&);
26 HudContainerModel();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~HudContainerModel() /*override*/ = default;
32
33 virtual void containerContentChanged(int slot) /*override*/;
34
35 virtual bool isValid() /*override*/;
36
37 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
38
39 virtual ::Container* _getContainer() const /*override*/;
40
41 virtual void _init() /*override*/;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCNAPI void $containerContentChanged(int slot);
48
49 MCNAPI bool $isValid();
50
51 MCNAPI ::ContainerWeakRef $getContainerWeakRef() const;
52
53 MCNAPI ::Container* $_getContainer() const;
54
55 MCNAPI void $_init();
56
57
58 // NOLINTEND
59};
Definition ContainerWeakRef.h:17
Definition Container.h:36
MCAPI void $_init()
MCAPI void $containerContentChanged(int slot)
MCAPI::ContainerWeakRef $getContainerWeakRef() const
MCAPI::Container * $_getContainer() const
MCAPI bool $isValid()
Definition Player.h:131