LeviLamina
Loading...
Searching...
No Matches
CraftingDataPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/Packet.h"
8#include "mc/platform/Result.h"
9
10// auto generated forward declare list
11// clang-format off
12class BinaryStream;
15class Recipes;
19// clang-format on
20
21class CraftingDataPacket : public ::Packet {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 24, ::std::vector<::CraftingDataEntry>> mCraftingEntries;
26 ::ll::TypedStorage<8, 24, ::std::vector<::PotionMixDataEntry>> mPotionMixEntries;
27 ::ll::TypedStorage<8, 24, ::std::vector<::ContainerMixDataEntry>> mContainerMixEntries;
28 ::ll::TypedStorage<8, 24, ::std::vector<::MaterialReducerDataEntry>> mMaterialReducerEntries;
29 ::ll::TypedStorage<1, 1, bool> mClearRecipes;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ::MinecraftPacketIds getId() const /*override*/;
36
37 virtual ::std::string getName() const /*override*/;
38
39 virtual void write(::BinaryStream& stream) const /*override*/;
40
41 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
42
43 virtual ~CraftingDataPacket() /*override*/;
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static ::std::unique_ptr<::CraftingDataPacket>
50 prepareFromRecipes(::Recipes const& levelRecipes, bool onlyCraftingRecipes);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD ::MinecraftPacketIds $getId() const;
63
64 MCAPI ::std::string $getName() const;
65
66 MCAPI void $write(::BinaryStream& stream) const;
67
68 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BinaryStream.h:11
Definition CraftingDataEntry.h:21
Definition CraftingDataPacket.h:21
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8
Definition Recipes.h:35
Definition ContainerMixDataEntry.h:13
Definition MaterialReducerDataEntry.h:14
Definition PotionMixDataEntry.h:13