aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/IUIScene_HorseInventoryMenu.h
blob: 6df2001e7dd2569d50884343b52decbfbdb90df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "IUIScene_AbstractContainerMenu.h"
#include "../../../Minecraft.World/Container.h"
#include "../../../Minecraft.World/Inventory.h"
#include "../../../Minecraft.World/EntityHorse.h"

class IUIScene_HorseInventoryMenu : public virtual IUIScene_AbstractContainerMenu
{
protected:
	shared_ptr<Inventory> m_inventory;
	shared_ptr<Container> m_container;
	shared_ptr<EntityHorse> m_horse;

public:
	virtual ESceneSection GetSectionAndSlotInDirection(ESceneSection eSection, ETapState eTapDirection, int *piTargetX, int *piTargetY);
	int getSectionStartOffset(ESceneSection eSection);
	bool IsSectionSlotList( ESceneSection eSection );
	bool IsVisible( ESceneSection eSection );
};