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 uint getTelemetryData() /*override*/;
38
39 // vIndex: 2
40 virtual ~PacketLimitHandler() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCNAPI ::PacketViolationResponse $checkForViolation(
47 ::MinecraftPacketIds packetId,
48 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
49 bool* outIsNewOrUpdatedViolation
50 );
51
52 MCNAPI uint $getTelemetryData();
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition IPacketSecurityHandler.h:10
Definition PacketLimitHandler.h:11
MCAPI::PacketViolationResponse $checkForViolation(::MinecraftPacketIds packetId, ::nonstd::expected< void, ::Bedrock::ErrorInfo<::std::error_code > > const &result, bool *outIsNewOrUpdatedViolation)
static MCAPI void ** $vftable()
MCAPI uint $getTelemetryData()
Definition ErrorInfo.h:9
Definition Alias.h:14