LeviLamina
Loading...
Searching...
No Matches
PacketViolationWarningPacket.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/network/packet/PacketViolationSeverity.h"
9#include "mc/network/packet/PacketViolationType.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, ::PacketViolationType> mViolationType;
23 ::ll::TypedStorage<4, 4, ::PacketViolationSeverity> mViolationSeverity;
24 ::ll::TypedStorage<4, 4, ::MinecraftPacketIds> mViolatingPacketId;
25 ::ll::TypedStorage<8, 32, ::std::string> mViolationContext;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual ::MinecraftPacketIds getId() const /*override*/;
33
34 // vIndex: 4
35 virtual void write(::BinaryStream& stream) const /*override*/;
36
37 // vIndex: 2
38 virtual ::std::string getName() const /*override*/;
39
40 // vIndex: 8
41 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
42
43 // vIndex: 0
44 virtual ~PacketViolationWarningPacket() /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor();
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::MinecraftPacketIds $getId() const;
69
70 MCAPI void $write(::BinaryStream& stream) const;
71
72 MCAPI ::std::string $getName() const;
73
74 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BinaryStream.h:10
Definition PacketViolationWarningPacket.h:18
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8