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(AsyncJoinRegistrar const&);
28 AsyncJoinRegistrar();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~AsyncJoinRegistrar() /*override*/ = default;
34
35 virtual ::std::unique_ptr<uint64, ::std::function<void(uint64*)>> registerAsyncJoinCallback(
39 ::SubClientId,
40 ::std::shared_ptr<::AsyncVerdictPromise>
41 )> joinCallback
42 ) /*override*/;
43
44 virtual bool isPaused() /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI explicit AsyncJoinRegistrar(::Minecraft& minecraft);
51
52 MCNAPI ::AsyncJoinRegistrar& operator=(::AsyncJoinRegistrar const&);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCNAPI void* $ctor(::Minecraft& minecraft);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI ::std::unique_ptr<uint64, ::std::function<void(uint64*)>> $registerAsyncJoinCallback(
68 ::SubClientId,
69 ::std::shared_ptr<::AsyncVerdictPromise>
70 )> joinCallback
71 );
72
73 MCNAPI bool $isPaused();
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
MCAPI::AsyncJoinRegistrar & operator=(::AsyncJoinRegistrar const &)
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:11
Definition IAsyncJoinRegistrar.h:16
Definition Minecraft.h:60
Definition NetworkIdentifier.h:10
Definition move_only_function.h:9
Definition PlayerAuthenticationInfo.h:8
Definition Alias.h:14