Cuberite
A lightweight, fast and extensible game server for Minecraft
src
UI
BrewingstandWindow.h
Go to the documentation of this file.
1
2
// BrewingstandWindow.h
3
4
// Representing the UI window for the brewing stand block
5
6
7
8
9
10
#pragma once
11
12
#include "
Window.h
"
13
14
15
16
17
18
class
cBrewingstandWindow
:
19
public
cWindow
20
{
21
using
Super
=
cWindow
;
22
23
public
:
24
25
cBrewingstandWindow
(
cBrewingstandEntity
* a_Brewingstand);
26
27
virtual
void
DistributeStack
(
cItem
& a_ItemStack,
int
a_Slot,
cPlayer
& a_Player,
cSlotArea
* a_ClickedArea,
bool
a_ShouldApply)
override
;
28
};
29
30
31
32
cBrewingstandWindow::DistributeStack
virtual void DistributeStack(cItem &a_ItemStack, int a_Slot, cPlayer &a_Player, cSlotArea *a_ClickedArea, bool a_ShouldApply) override
Called on shift-clicking to distribute the stack into other areas; Modifies a_ItemStack as it is dist...
Definition:
BrewingstandWindow.cpp:28
cWindow
Represents a UI window.
Definition:
Window.h:53
cBrewingstandWindow
Definition:
BrewingstandWindow.h:18
cBrewingstandWindow::cBrewingstandWindow
cBrewingstandWindow(cBrewingstandEntity *a_Brewingstand)
Definition:
BrewingstandWindow.cpp:16
cItem
Definition:
Item.h:36
Window.h
cPlayer
Definition:
Player.h:27
cBrewingstandEntity
Definition:
BrewingstandEntity.h:19
cSlotArea
Definition:
SlotArea.h:33
cWindow::cWindow
cWindow(WindowType a_WindowType, const AString &a_WindowTitle)
Definition:
Window.cpp:30
Generated on Fri Oct 28 2022 17:01:08 for Cuberite by
1.8.17