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