LeviLamina
Loading...
Searching...
No Matches
Trade2ContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/ContainerID.h"
7#include "mc/world/containers/managers/models/LevelContainerManagerModel.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
13class ItemStack;
14class Player;
15struct ActorUniqueID;
16// clang-format on
17
19public:
20 // Trade2ContainerManagerModel inner types define
21 enum class Slot : int {
22 Item1 = 0,
23 Item2 = 1,
24 Sell = 2,
25 Count = 3,
26 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~Trade2ContainerManagerModel() /*override*/ = default;
46
47 // vIndex: 7
48 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
49
50 // vIndex: 8
51 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
52
53 // vIndex: 9
54 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
55
56 // vIndex: 19
57 virtual bool isValid(float pickRange) /*override*/;
58
59 // vIndex: 13
60 virtual void broadcastChanges() /*override*/;
61
62 // vIndex: 20
63 virtual ::ContainerScreenContext _postInit() /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI Trade2ContainerManagerModel(::ContainerID containerId, ::Player& player, ::ActorUniqueID const& uniqueId);
70
71 MCFOLD ::Actor* getEntity() const;
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::ActorUniqueID const& uniqueId);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
90
91 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool);
92
93 MCAPI ::ItemStack const& $getSlot(int slot) const;
94
95 MCAPI bool $isValid(float pickRange);
96
97 MCFOLD void $broadcastChanges();
98
99 MCAPI ::ContainerScreenContext $_postInit();
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCAPI static void** $vftable();
106 // NOLINTEND
107};
Definition Actor.h:104
Definition ContainerScreenContext.h:11
Definition ItemStack.h:25
Definition LevelContainerManagerModel.h:16
Definition Player.h:119
Definition Trade2ContainerManagerModel.h:18
Definition ActorUniqueID.h:5
Definition Alias.h:14