mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-13 18:17:16 +00:00
24 lines
944 B
C++
24 lines
944 B
C++
#pragma once
|
|
|
|
#include "IUIScene_AbstractContainerMenu.h"
|
|
#include "../../../../Minecraft.World/Containers/Container.h"
|
|
#include "../../../../Minecraft.World/Containers/Inventory.h"
|
|
#include "../../../../Minecraft.World/Entities/Mobs/EntityHorse.h"
|
|
|
|
class IUIScene_HorseInventoryMenu
|
|
: public virtual IUIScene_AbstractContainerMenu {
|
|
protected:
|
|
std::shared_ptr<Inventory> m_inventory;
|
|
std::shared_ptr<Container> m_container;
|
|
std::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);
|
|
};
|