LeviLamina
Loading...
Searching...
No Matches
AsyncJoinRegistrar.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/platform/brstd/move_only_function.h"
8#include "mc/scripting/IAsyncJoinRegistrar.h"
9
10// auto generated forward declare list
11// clang-format off
13class Minecraft;
16// clang-format on
17
18class AsyncJoinRegistrar : public ::IAsyncJoinRegistrar {
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 AsyncJoinRegistrar& operator=(AsyncJoinRegistrar const&);
28 AsyncJoinRegistrar(AsyncJoinRegistrar const&);
29 AsyncJoinRegistrar();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~AsyncJoinRegistrar() /*override*/ = default;
35
36 virtual ::std::unique_ptr<uint64, ::std::function<void(uint64*)>> registerAsyncJoinCallback(
40 ::SubClientId,
41 ::std::shared_ptr<::AsyncVerdictPromise>
42 )> joinCallback
43 ) /*override*/;
44
45 virtual bool isPaused() /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI explicit AsyncJoinRegistrar(::Minecraft& minecraft);
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(::Minecraft& minecraft);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI ::std::unique_ptr<uint64, ::std::function<void(uint64*)>> $registerAsyncJoinCallback(
67 ::SubClientId,
68 ::std::shared_ptr<::AsyncVerdictPromise>
69 )> joinCallback
70 );
71
72 MCNAPI bool $isPaused();
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
MCAPI void * $ctor(::Minecraft &minecraft)
MCAPI bool $isPaused()
MCAPI AsyncJoinRegistrar(::Minecraft &minecraft)
MCAPI ::std::unique_ptr< uint64, ::std::function< void(uint64 *)> > $registerAsyncJoinCallback(::brstd::move_only_function< void(::NetworkIdentifier const &, ::PlayerAuthenticationInfo const &, ::SubClientId, ::std::shared_ptr<::AsyncVerdictPromise >)> joinCallback)
static MCAPI void ** $vftable()
Definition AsyncVerdictPromise.h:14
Definition IAsyncJoinRegistrar.h:16
Definition Minecraft.h:61
Definition NetworkIdentifier.h:10
Definition move_only_function.h:9
Definition PlayerAuthenticationInfo.h:9
Definition Alias.h:14