LeviLamina
Loading...
Searching...
No Matches
ServerConnectionAuthValidator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/network/connection/DisconnectFailReason.h"
8
9// auto generated forward declare list
10// clang-format off
15// clang-format on
16
17class ServerConnectionAuthValidator {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 64, ::std::function<int64()>> mCurrentTimeFn;
22 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::MinecraftServiceKeyManager>> mMinecraftServiceKeys;
23 ::ll::TypedStorage<1, 1, bool> mAllowSelfSigned;
24 ::ll::TypedStorage<1, 1, bool> mAllowExpiredTokens;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ServerConnectionAuthValidator();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI ServerConnectionAuthValidator(
35 ::NetworkServerConfig const& networkServerConfig,
36 bool isLan,
37 ::std::function<int64()> currentTimeFn,
38 ::Bedrock::NotNullNonOwnerPtr<::MinecraftServiceKeyManager> minecraftServiceKeys
39 );
40
41 MCAPI ::std::variant<::PlayerAuthenticationInfo, ::Connection::DisconnectFailReason>
42 _validateBase(::BaseConnectionRequest const& connectionRequest) const;
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(
49 ::NetworkServerConfig const& networkServerConfig,
50 bool isLan,
51 ::std::function<int64()> currentTimeFn,
52 ::Bedrock::NotNullNonOwnerPtr<::MinecraftServiceKeyManager> minecraftServiceKeys
53 );
54 // NOLINTEND
55};
Definition BaseConnectionRequest.h:27
Definition MinecraftServiceKeyManager.h:19
Definition NetworkServerConfig.h:9
Definition PlayerAuthenticationInfo.h:9