LeviLamina
Loading...
Searching...
No Matches
PacketSecurityController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/network/IPacketSecurityController.h"
8#include "mc/network/MinecraftPacketIds.h"
9#include "mc/network/PacketViolationResponse.h"
10#include "mc/platform/ErrorInfo.h"
11
12// auto generated forward declare list
13// clang-format off
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~PacketSecurityController() /*override*/ = default;
36
37 // vIndex: 1
38 virtual ::PacketViolationResponse checkForViolation(
39 ::MinecraftPacketIds packetId,
40 ::SubClientId subClientId,
41 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
42 bool* outIsNewOrUpdatedViolation
43 ) /*override*/;
44
45 // vIndex: 2
46 virtual uint getTelemetryData() /*override*/;
47
48 // vIndex: 3
49 virtual ::Bedrock::ErrorInfo<::std::error_code> consumePacketError(::SubClientId subClientId) /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCNAPI PacketSecurityController(::NetworkIdentifier const& netId, bool packetLimitHandlerEnabled);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCNAPI void* $ctor(::NetworkIdentifier const& netId, bool packetLimitHandlerEnabled);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI ::PacketViolationResponse $checkForViolation(
68 ::MinecraftPacketIds packetId,
69 ::SubClientId subClientId,
70 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
71 bool* outIsNewOrUpdatedViolation
72 );
73
74 MCNAPI uint $getTelemetryData();
75
76 MCNAPI ::Bedrock::ErrorInfo<::std::error_code> $consumePacketError(::SubClientId subClientId);
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition IPacketSecurityController.h:20
Definition NetworkIdentifier.h:10
Definition PacketSecurityController.h:17
static MCAPI void ** $vftable()
MCAPI::PacketViolationResponse $checkForViolation(::MinecraftPacketIds packetId, ::SubClientId subClientId, ::nonstd::expected< void, ::Bedrock::ErrorInfo<::std::error_code > > const &result, bool *outIsNewOrUpdatedViolation)
MCAPI void * $ctor(::NetworkIdentifier const &netId, bool packetLimitHandlerEnabled)
MCAPI PacketSecurityController(::NetworkIdentifier const &netId, bool packetLimitHandlerEnabled)
MCAPI ::Bedrock::ErrorInfo<::std::error_code > $consumePacketError(::SubClientId subClientId)
MCAPI uint $getTelemetryData()
Definition ErrorInfo.h:9
Definition Alias.h:14