LeviLamina
Loading...
Searching...
No Matches
IPacketSecurityController.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/MinecraftPacketIds.h"
8#include "mc/network/PacketGroupDefinition.h"
9#include "mc/network/PacketViolationResponse.h"
10#include "mc/platform/ErrorInfo.h"
11
12// auto generated forward declare list
13// clang-format off
15namespace Bedrock { struct ImplCtor; }
16// clang-format on
17
19: public ::Bedrock::ImplBase<
20 ::IPacketSecurityController,
21 ::Bedrock::ImplCtor(::NetworkIdentifier const&),
22 ::Bedrock::ImplCtor(::NetworkIdentifier const&, ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder>)> {
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::PacketViolationResponse checkForViolation(
27 ::MinecraftPacketIds,
28 ::SubClientId,
29 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const&,
30 bool*
31 ) = 0;
32
33 virtual uint getTelemetryData() = 0;
34
35 virtual ::Bedrock::ErrorInfo<::std::error_code> consumePacketError(::SubClientId) = 0;
36
37 virtual void reloadPacketLimitConfig(::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder>) = 0;
38
39 virtual ~IPacketSecurityController() /*override*/;
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCNAPI void $dtor();
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition _HeaderOutputPredefine.h:256
Definition IPacketSecurityController.h:22
static MCAPI void ** $vftable()
Definition NetworkIdentifier.h:10
Definition ErrorInfo.h:9
Definition ImplCtor.h:7