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