mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
39 lines
1.4 KiB
C++
39 lines
1.4 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class ShareableComponent {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SHAREABLECOMPONENT
|
|
public:
|
|
class ShareableComponent& operator=(class ShareableComponent const &) = delete;
|
|
ShareableComponent(class ShareableComponent const &) = delete;
|
|
ShareableComponent() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SHAREABLECOMPONENT
|
|
#endif
|
|
MCAPI int getCountToPickUp(class Actor const &, class ItemStack const &) const;
|
|
MCAPI int getSlotToSwap(class Actor &, class ItemActor const &) const;
|
|
MCAPI int hasSurplus(class Actor &, class ItemStack const &, class ItemStack &, bool) const;
|
|
MCAPI bool itemBelongsInInventory(class Actor &, class ItemStack const &, bool) const;
|
|
MCAPI int wantsMore(class Actor const &, class ItemStack const &) const;
|
|
MCAPI bool willPickup(class Actor &, class ItemStack const &, bool, bool) const;
|
|
|
|
//private:
|
|
MCAPI int _getItemPriority(class ShareableDefinition const &, class ItemStack const &) const;
|
|
MCAPI bool _shouldReplaceItem(class ItemStack const &, class ItemStack const &, class ShareableDefinition const &, bool) const;
|
|
MCAPI static bool _useLegacySurplusRules(class Level const &);
|
|
|
|
private:
|
|
|
|
}; |