19class BeaconContainerManagerModel :
public ::LevelContainerManagerModel {
23 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContainerModel>> mPaymentContainerModel;
24 ::ll::TypedStorage<4, 4, int> mPrimaryEffectPreviousId;
25 ::ll::TypedStorage<4, 4, int> mSecondaryEffectPreviousId;
26 ::ll::TypedStorage<4, 4, int> mSelectedPrimaryEffectId;
27 ::ll::TypedStorage<4, 4, int> mSelectedSecondaryEffectId;
28 ::ll::TypedStorage<1, 1, bool> mEffectSelectionsChanged;
33 BeaconContainerManagerModel();
38 virtual ~BeaconContainerManagerModel() =
default;
40 virtual void setSlot(
int slot,
::ItemStack const& item,
bool) ;
42 virtual ::ItemStack
const& getSlot(
int slot)
const ;
44 virtual ::std::vector<::ItemStack> getItemCopies()
const ;
46 virtual ::ContainerScreenContext _postInit() ;
52 MCAPI BeaconContainerManagerModel(::ContainerID containerId,
::Player& player,
::BlockPos const& blockPos);
57 MCAPI
void confirmTransaction(
bool isPaymentConfirmed);
59 MCAPI ::std::string getEffectHoverName(
int iSlot,
bool bSecondaryEffect);
61 MCFOLD ::std::shared_ptr<::ContainerModel> getPaymentContainerModel();
63 MCFOLD
int getSelectedPrimaryEffectId()
const;
65 MCAPI
int getSelectedSecondaryEffectId()
const;
67 MCAPI
bool hasPrimarySelection()
const;
69 MCFOLD
bool haveEffectsChanged();
71 MCAPI
bool isAnyEffectValid();
73 MCAPI
bool isPaymentAvailable()
const;
75 MCAPI
bool isSecondaryEffect(
int iSlot);
77 MCAPI
bool isSelected(
int iSlot,
bool isSecondary);
79 MCAPI
bool isTierAvailable(
int iTier);
81 MCAPI
void selectEffect(
int iSlot,
bool bSecondaryEffect);
88 MCAPI
void* $ctor(::ContainerID containerId,
::Player& player,
::BlockPos const& blockPos);
94 MCAPI
void $setSlot(
int slot,
::ItemStack const& item,
bool);
96 MCAPI ::ItemStack
const& $getSlot(
int slot)
const;
98 MCAPI ::std::vector<::ItemStack> $getItemCopies()
const;
100 MCAPI ::ContainerScreenContext $_postInit();
108 MCAPI
static void** $vftable();
Definition ContainerScreenContext.h:19