diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-03 17:47:11 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:33 +0100 |
commit | bdc3f4a198c3f047389b159e67f7e6131e053ea6 (patch) | |
tree | c0f473147116e4ba0fed8cfb5f9780982b5a3c8c /src/Packet.hpp | |
parent | Fixed CMake error (diff) | |
download | AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.gz AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.bz2 AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.lz AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.xz AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.zst AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Packet.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Packet.hpp b/src/Packet.hpp index f31fa59..4457893 100644 --- a/src/Packet.hpp +++ b/src/Packet.hpp @@ -896,7 +896,7 @@ struct PacketWindowItems : Packet { } unsigned char WindowId; - std::vector<SlotData> SlotData; + std::vector<SlotDataType> SlotData; }; struct PacketWindowProperty : Packet { @@ -936,7 +936,7 @@ struct PacketSetSlot : Packet { signed char WindowId; short Slot; - SlotData SlotData; + SlotDataType SlotData; }; struct PacketConfirmTransactionCB : Packet { @@ -1004,9 +1004,9 @@ struct PacketClickWindow : Packet { signed char Button; short ActionNumber; int Mode; - SlotData ClickedItem; + SlotDataType ClickedItem; - PacketClickWindow(unsigned char windowId, short slot, signed char button, short actionNumber, int mode, SlotData ClickedItem) : WindowId(windowId), Slot(slot), + PacketClickWindow(unsigned char windowId, short slot, signed char button, short actionNumber, int mode, SlotDataType ClickedItem) : WindowId(windowId), Slot(slot), Button(button), ActionNumber(actionNumber), Mode(mode), ClickedItem(ClickedItem) {}; }; |