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
31 ::ll::TypedStorage<4, 4, int> mSelectedTrade;
32 ::ll::TypedStorage<4, 4, int> mTraderVariant;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~Trade2ContainerManagerModel() /*override*/ = default;
44
45 // vIndex: 7
46 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
47
48 // vIndex: 8
49 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
50
51 // vIndex: 9
52 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
53
54 // vIndex: 19
55 virtual bool isValid(float pickRange) /*override*/;
56
57 // vIndex: 13
58 virtual void broadcastChanges() /*override*/;
59
60 // vIndex: 20
61 virtual ::ContainerScreenContext _postInit() /*override*/;
62 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCNAPI Trade2ContainerManagerModel(::ContainerID containerId, ::Player& player, ::ActorUniqueID const& uniqueId);
68
69 MCNAPI ::Actor* getEntity() const;
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor(::ContainerID containerId, ::Player& player, ::ActorUniqueID const& uniqueId);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
82
83 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool);
84
85 MCNAPI ::ItemStack const& $getSlot(int slot) const;
86
87 MCNAPI bool $isValid(float pickRange);
88
89 MCNAPI void $broadcastChanges();
90
91 MCNAPI ::ContainerScreenContext $_postInit();
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition Actor.h:103
Definition ContainerScreenContext.h:17
Definition ItemStack.h:25
Definition LevelContainerManagerModel.h:19
Definition Player.h:119
Definition Trade2ContainerManagerModel.h:18
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool)
MCAPI bool $isValid(float pickRange)
static MCAPI void ** $vftable()
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI::Actor * getEntity() const
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI Trade2ContainerManagerModel(::ContainerID containerId, ::Player &player, ::ActorUniqueID const &uniqueId)
MCAPI::ContainerScreenContext $_postInit()
MCAPI void * $ctor(::ContainerID containerId, ::Player &player, ::ActorUniqueID const &uniqueId)
Definition ActorUniqueID.h:5