forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
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__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue