LeviLamina
Loading...
Searching...
No Matches
SubClientLoginPacket.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/network/SubClientConnectionRequest.h"
9#include "mc/platform/Result.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
16// clang-format on
17
18class SubClientLoginPacket : public ::Packet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SubClientConnectionRequest>> mConnectionRequest;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28#ifdef LL_PLAT_S
29 virtual ~SubClientLoginPacket() /*override*/ = default;
30#else // LL_PLAT_C
31 virtual ~SubClientLoginPacket() /*override*/;
32#endif
33
34 virtual ::std::string_view getName() const /*override*/;
35
36 virtual ::MinecraftPacketIds getId() const /*override*/;
37
38 virtual void write(::BinaryStream& stream) const /*override*/;
39
40 virtual bool disallowBatching() const /*override*/;
41
42 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI SubClientLoginPacket();
49
50#ifdef LL_PLAT_C
51 MCAPI explicit SubClientLoginPacket(::SubClientConnectionRequest const& connectionRequest);
52#endif
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor();
59
60#ifdef LL_PLAT_C
61 MCAPI void* $ctor(::SubClientConnectionRequest const& connectionRequest);
62#endif
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::std::string_view $getName() const;
75
76 MCAPI ::MinecraftPacketIds $getId() const;
77
78 MCAPI void $write(::BinaryStream& stream) const;
79
80 MCFOLD bool $disallowBatching() const;
81
82 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8
Definition SubClientConnectionRequest.h:16
static MCAPI void ** $vftable()