LeviLamina
Loading...
Searching...
No Matches
PacketViolationHandler.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
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 ~PacketViolationHandler() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ::PacketViolationResponse
47 _handleViolation(::MinecraftPacketIds packetId, ::std::error_code const& result, bool* outIsNewOrUpdatedViolation);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI ::PacketViolationResponse $checkForViolation(
60 ::MinecraftPacketIds packetId,
61 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
62 bool* outIsNewOrUpdatedViolation
63 );
64
65 MCAPI void $getTelemetryData(uint& violationCount);
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition IPacketSecurityHandler.h:10
Definition PacketViolationHandler.h:11
Definition ErrorInfo.h:9
Definition Alias.h:14