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