LeviLamina
Loading...
Searching...
No Matches
UnlockedRecipesPacket.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;
14// clang-format on
15
17public:
18 // UnlockedRecipesPacket inner types define
19 enum class PacketType : uint {
20 Empty = 0,
21 InitiallyUnlockedRecipes = 1,
22 NewlyUnlockedRecipes = 2,
23 RemoveUnlockedRecipes = 3,
24 RemoveAllUnlockedRecipes = 4,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<4, 4, ::UnlockedRecipesPacket::PacketType> mPacketType;
31 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mUnlockedRecipes;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 2
38 virtual ::std::string getName() const /*override*/;
39
40 // vIndex: 1
41 virtual ::MinecraftPacketIds getId() const /*override*/;
42
43 // vIndex: 4
44 virtual void write(::BinaryStream& stream) const /*override*/;
45
46 // vIndex: 8
47 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
48
49 // vIndex: 0
50 virtual ~UnlockedRecipesPacket() /*override*/;
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::std::string $getName() const;
63
64 MCAPI ::MinecraftPacketIds $getId() const;
65
66 MCAPI void $write(::BinaryStream& stream) const;
67
68 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition UnlockedRecipesPacket.h:16