7 #include "../Mobs/Horse.h"
8 #include "../UI/HorseWindow.h"
9 #include "../UI/SlotArea.h"
16 Super(wtAnimalChest,
"Horse"),
std::vector< cSlotArea * > cSlotAreas
bool IsHorseArmor(short a_ItemType)
UInt32 GetUniqueID(void) const
UInt32 GetHorseID() const
Returns the horse's entity ID.
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...
cHorseWindow(cHorse &a_Horse)
Handles the main inventory of each player, excluding the armor and hotbar.
Handles the hotbar of each player.
Slot area holding horse saddle and armor.
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...