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