Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Hotbar.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/EnableGetWeakRef.h"
7#include "mc/deps/game_refs/OwnerPtr.h"
8#include "mc/editor/IHotbarPayloadHandler.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Editor { class HotbarElementBase; }
13namespace Editor::Network { class HotbarCollectionElementChangedPayload; }
14namespace Editor::Network { class HotbarCollectionHotbarDisplayNameChangedPayload; }
15namespace Editor::Network { class HotbarCollectionHotbarElementDisplayNameChangedPayload; }
16// clang-format on
17
18namespace Editor {
19
20class Hotbar : public ::Editor::IHotbarPayloadHandler, public ::EnableGetWeakRef<::Editor::Hotbar> {
21public:
22 // member variables
23 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 Hotbar& operator=(Hotbar const&);
34 Hotbar(Hotbar const&);
35 Hotbar();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~Hotbar() = default;
41
42 virtual void _handleHotbarCollectionElementChangedPayload(
44 ) /*override*/;
45
46 virtual void _handleHotbarCollectionHotbarDisplayNameChangedPayload(
48 ) /*override*/;
49
50 virtual void _handleHotbarCollectionHotbarElementDisplayNameChangedPayload(
52 ) /*override*/;
53 // NOLINTEND
54};
55
56} // namespace Editor
Definition HotbarElementBase.h:19
Definition IHotbarPayloadHandler.h:14
Definition HotbarCollectionElementChangedPayload.h:16
Definition HotbarCollectionHotbarDisplayNameChangedPayload.h:16
Definition HotbarCollectionHotbarElementDisplayNameChangedPayload.h:16
Definition EnableGetWeakRef.h:6
Definition Alias.h:14