Files
GabsPuNs-MinecraftConsoles/Minecraft.Client/Common/UI/IUIScene_ClassicCraftingMenu.h

21 lines
801 B
C++

#pragma once
#include "IUIScene_AbstractContainerMenu.h"
// The 0-indexed slot in the inventory list that lines up with the result slot
#define CRAFTING_SCENE_RESULT_SLOT_OFFSET 0
#define CRAFTING_SCENE_SLOT_OFFSET 1
#define CRAFTING_SCENE_SLOT_OFFSET 2
#define CRAFTING_SCENE_SLOT_OFFSET 3
#define CRAFTING_SCENE_SLOT_OFFSET 4
#define CRAFTING_SCENE_SLOT_OFFSET 5
#define CRAFTING_SCENE_SLOT_OFFSET 6
#define CRAFTING_SCENE_SLOT_OFFSET 7
#define CRAFTING_SCENE_SLOT_OFFSET 8
#define CRAFTING_SCENE_SLOT_OFFSET 9
class IUIScene_ClassicCraftingMenu : public virtual IUIScene_AbstractContainerMenu
{
protected:
virtual ESceneSection GetSectionAndSlotInDirection( ESceneSection eSection, ETapState eTapDirection, int *piTargetX, int *piTargetY );
int getSectionStartOffset(ESceneSection eSection);
};