the whole game
This commit is contained in:
30
src/world/inventory/ContainerMenu.h
Executable file
30
src/world/inventory/ContainerMenu.h
Executable file
@@ -0,0 +1,30 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_INVENTORY__ContainerMenu_H__
|
||||
#define NET_MINECRAFT_WORLD_INVENTORY__ContainerMenu_H__
|
||||
|
||||
//package net.minecraft.world.inventory;
|
||||
|
||||
#include "BaseContainerMenu.h"
|
||||
#include <vector>
|
||||
|
||||
class Container;
|
||||
class ItemInstance;
|
||||
|
||||
class ContainerMenu: public BaseContainerMenu
|
||||
{
|
||||
typedef BaseContainerMenu super;
|
||||
public:
|
||||
ContainerMenu(Container* container, int tileEntityId = -1);
|
||||
|
||||
virtual ~ContainerMenu() {}
|
||||
|
||||
virtual void setSlot(int slot, ItemInstance* item);
|
||||
virtual std::vector<ItemInstance> getItems();
|
||||
|
||||
virtual bool tileEntityDestroyedIsInvalid( int tileEntityId );
|
||||
|
||||
Container* container;
|
||||
protected:
|
||||
int tileEntityId;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_INVENTORY__ContainerMenu_H__*/
|
||||
Reference in New Issue
Block a user