LeviLamina
Loading...
Searching...
No Matches
PacketLimitHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/IPacketSecurityHandler.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/PacketViolationResponse.h"
9#include "mc/platform/ErrorInfo.h"
10
12public:
13 // member variables
14 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 PacketLimitHandler& operator=(PacketLimitHandler const&);
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ::PacketViolationResponse checkForViolation(
31 ::MinecraftPacketIds packetId,
32 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
33 bool* outIsNewOrUpdatedViolation
34 ) /*override*/;
35
36 // vIndex: 1
37 virtual void getTelemetryData(uint& violationCount) /*override*/;
38
39 // vIndex: 2
40 virtual ~PacketLimitHandler() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI ::PacketViolationResponse $checkForViolation(
53 ::MinecraftPacketIds packetId,
54 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
55 bool* outIsNewOrUpdatedViolation
56 );
57
58 MCAPI void $getTelemetryData(uint& violationCount);
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCAPI static void** $vftable();
65 // NOLINTEND
66};
Definition IPacketSecurityHandler.h:10
Definition PacketLimitHandler.h:11
Definition ErrorInfo.h:9
Definition Alias.h:14