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/PacketGroupDefinition.h"
10#include "mc/network/PacketViolationResponse.h"
11#include "mc/platform/ErrorInfo.h"
12
13// auto generated forward declare list
14// clang-format off
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~PacketSecurityController() /*override*/ = default;
37
38 // vIndex: 1
39 virtual ::PacketViolationResponse checkForViolation(
40 ::MinecraftPacketIds packetId,
41 ::SubClientId subClientId,
42 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
43 bool* outIsNewOrUpdatedViolation
44 ) /*override*/;
45
46 // vIndex: 2
47 virtual uint getTelemetryData() /*override*/;
48
49 // vIndex: 3
50 virtual ::Bedrock::ErrorInfo<::std::error_code> consumePacketError(::SubClientId subClientId) /*override*/;
51
52 // vIndex: 4
53 virtual void reloadPacketLimitConfig(
54 ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder
55 ) /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
62 ::NetworkIdentifier const& netId,
63 ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder
64 );
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void* $ctor(
71 ::NetworkIdentifier const& netId,
72 ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder
73 );
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCNAPI ::PacketViolationResponse $checkForViolation(
80 ::MinecraftPacketIds packetId,
81 ::SubClientId subClientId,
82 ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>> const& result,
83 bool* outIsNewOrUpdatedViolation
84 );
85
86 MCNAPI uint $getTelemetryData();
87
88 MCNAPI ::Bedrock::ErrorInfo<::std::error_code> $consumePacketError(::SubClientId subClientId);
89
90 MCNAPI void
91 $reloadPacketLimitConfig(::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder);
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition IPacketSecurityController.h:22
Definition NetworkIdentifier.h:10
Definition PacketSecurityController.h:18
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 $reloadPacketLimitConfig(::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder > packetGroupBuilder)
MCAPI void * $ctor(::NetworkIdentifier const &netId, ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder > packetGroupBuilder)
MCAPI ::Bedrock::ErrorInfo<::std::error_code > $consumePacketError(::SubClientId subClientId)
MCAPI PacketSecurityController(::NetworkIdentifier const &netId, ::std::shared_ptr<::PacketGroupDefinition::PacketGroupBuilder > packetGroupBuilder)
MCAPI uint $getTelemetryData()
Definition ErrorInfo.h:9
Definition Alias.h:14