13 #include "../Entities/Minecart.h"
std::vector< cSlotArea * > cSlotAreas
const Vector3d & GetPosition(void) const
Exported in ManualBindings.
cWorld * GetWorld(void) const
cMinecartWithChest * m_ChestCart
virtual void DistributeStack(cItem &a_ItemStack, int a_Slot, cPlayer &a_Player, cSlotArea *a_ClickedArea, bool a_ShouldApply) override
Called on shift-clicking to distribute the stack into other areas; Modifies a_ItemStack as it is dist...
cMinecartWithChestWindow(cMinecartWithChest *a_ChestCart)
virtual ~cMinecartWithChestWindow() override
Handles the main inventory of each player, excluding the armor and hotbar.
Handles the hotbar of each player.
cWindow(WindowType a_WindowType, const AString &a_WindowTitle)
void DistributeStackToAreas(cItem &a_ItemStack, cPlayer &a_Player, cSlotAreas &a_AreasInOrder, bool a_ShouldApply, bool a_BackFill)
Called from DistributeStack() to distribute the stack into a_AreasInOrder; Modifies a_ItemStack as it...
virtual void BroadcastSoundEffect(const AString &a_SoundName, Vector3d a_Position, float a_Volume, float a_Pitch, const cClientHandle *a_Exclude=nullptr) override