Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TofuServerIdentityVerifier.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/Async.h"
7#include "mc/network/ServerIdentityAssertionVerifier.h"
8#include "mc/platform/brstd/move_only_function.h"
9
10// auto generated forward declare list
11// clang-format off
12class Scheduler;
13class TrustStore;
14class WorkerPool;
15// clang-format on
16
17class TofuServerIdentityVerifier : public ::ServerIdentityAssertionVerifier {
18public:
19 // member variables
20 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 TofuServerIdentityVerifier& operator=(TofuServerIdentityVerifier const&);
29 TofuServerIdentityVerifier(TofuServerIdentityVerifier const&);
30 TofuServerIdentityVerifier();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~TofuServerIdentityVerifier() /*override*/ = default;
36
37 virtual ::Bedrock::Threading::Async<bool>
38 verify(::std::string_view assertion, ::std::string_view fingerprintJson) /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCNAPI TofuServerIdentityVerifier(
46 ::gsl::not_null<::std::shared_ptr<::TrustStore>> trustStore,
48 );
49
50 MCNAPI TofuServerIdentityVerifier(
51 ::gsl::not_null<::std::shared_ptr<::TrustStore>> trustStore,
53 ::WorkerPool& workerPool,
54 ::Scheduler& scheduler
55 );
56#endif
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62#ifdef LL_PLAT_C
63 MCNAPI void* $ctor(
64 ::gsl::not_null<::std::shared_ptr<::TrustStore>> trustStore,
66 );
67
68 MCNAPI void* $ctor(
69 ::gsl::not_null<::std::shared_ptr<::TrustStore>> trustStore,
71 ::WorkerPool& workerPool,
72 ::Scheduler& scheduler
73 );
74#endif
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80#ifdef LL_PLAT_C
81 MCNAPI ::Bedrock::Threading::Async<bool> $verify(::std::string_view assertion, ::std::string_view fingerprintJson);
82#endif
83
84
85 // NOLINTEND
86};
The game spells this as an AsyncImplBase<T> base subobject holding the handle; a member at the same o...
Definition Async.h:13
Definition Scheduler.h:15
Definition ServerIdentityAssertionVerifier.h:9
MCAPI ::Bedrock::Threading::Async< bool > $verify(::std::string_view assertion, ::std::string_view fingerprintJson)
Definition TrustStore.h:13
Definition WorkerPool.h:22
Definition move_only_function.h:9
Definition Alias.h:14