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/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
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 // vIndex: 1
36 virtual ::MinecraftPacketIds getId() const /*override*/;
37
38 // vIndex: 2
39 virtual ::std::string getName() const /*override*/;
40
41 // vIndex: 4
42 virtual void write(::BinaryStream& stream) const /*override*/;
43
44 // vIndex: 8
45 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
46
47 // vIndex: 0
48 virtual ~CraftingDataPacket() /*override*/;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static ::std::unique_ptr<::CraftingDataPacket>
55 prepareFromRecipes(::Recipes const& levelRecipes, bool onlyCraftingRecipes);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD ::MinecraftPacketIds $getId() const;
68
69 MCAPI ::std::string $getName() const;
70
71 MCAPI void $write(::BinaryStream& stream) const;
72
73 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BinaryStream.h:10
Definition CraftingDataEntry.h:17
Definition CraftingDataPacket.h:21
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition Recipes.h:36
Definition ContainerMixDataEntry.h:5
Definition MaterialReducerDataEntry.h:10
Definition PotionMixDataEntry.h:5