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 packetId,
28 ::SubClientId subClientId,
29 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
30 bool* outIsNewOrUpdatedViolation
31 ) = 0;
32
33 virtual uint getTelemetryData() = 0;
34
35 virtual ::Bedrock::ErrorInfo<::std::error_code> consumePacketError(::SubClientId subClientId) = 0;
36
37 virtual void
38 reloadPacketLimitConfig(::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder) = 0;
39
40 virtual ~IPacketSecurityController() /*override*/;
41 // NOLINTEND
42
43public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCNAPI void $dtor();
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition _HeaderOutputPredefine.h:260
Definition IPacketSecurityController.h:22
static MCAPI void ** $vftable()
Definition NetworkIdentifier.h:10
Definition ErrorInfo.h:9
Definition ImplCtor.h:7