LeviLamina
Loading...
Searching...
No Matches
ScriptAsyncJoinEventSignal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/script_engine/Closure.h"
8#include "mc/deps/scripting/script_engine/Future.h"
9
10// auto generated forward declare list
11// clang-format off
16namespace ScriptModuleServerAdmin { struct ScriptAsyncPlayerJoinBeforeEvent; }
17namespace Scripting { class ModuleBindingBuilder; }
18// clang-format on
19
20namespace ScriptModuleServerAdmin {
21
23public:
24 // ScriptAsyncJoinEventSignal inner types declare
25 // clang-format off
26 struct Subscriber;
27 // clang-format on
28
29 // ScriptAsyncJoinEventSignal inner types define
30 struct Subscriber {
31 public:
32 // member variables
33 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 Subscriber& operator=(Subscriber const&);
41 Subscriber(Subscriber const&);
42 Subscriber();
43
44 public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI ~Subscriber();
48 // NOLINTEND
49
50 public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCNAPI void $dtor();
54 // NOLINTEND
55 };
56
57public:
58 // member variables
59 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // prevent constructor by default
71
72public:
73 // member functions
74 // NOLINTBEGIN
78 )> closure,
79 ::IAsyncJoinRegistrar* asyncJoinRegistrar,
80 ::std::variant<
81 ::std::reference_wrapper<::ConnectionRequest const>,
82 ::std::reference_wrapper<::SubClientConnectionRequest const>> const& anyReq,
83 ::std::shared_ptr<::AsyncVerdictPromise> promisePtr
84 );
85
86 MCNAPI ::Scripting::Closure<::Scripting::Future<
91 )> closure
92 );
93
94 MCNAPI void tick();
95
96 MCNAPI bool unsubscribe(
99 )> const& closure
100 );
101
103 // NOLINTEND
104
105public:
106 // static functions
107 // NOLINTBEGIN
108 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
109 // NOLINTEND
110
111public:
112 // destructor thunk
113 // NOLINTBEGIN
114 MCNAPI void $dtor();
115 // NOLINTEND
116};
117
118} // namespace ScriptModuleServerAdmin
Definition AsyncVerdictPromise.h:10
Definition ConnectionRequest.h:22
Definition IAsyncJoinRegistrar.h:17
Definition Closure.h:8
Definition Future.h:8
Definition ModuleBindingBuilder.h:30
Definition StrongTypedObjectHandle.h:8
Definition SubClientConnectionRequest.h:19
Definition ScriptAsyncJoinEventSignal.h:30
Definition ScriptAsyncJoinEventSignal.h:22
MCAPI bool unsubscribe(::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> const &closure)
MCAPI void OnAsyncJoinCallback(::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> closure, ::IAsyncJoinRegistrar *asyncJoinRegistrar, ::std::variant< ::std::reference_wrapper<::ConnectionRequest const >, ::std::reference_wrapper<::SubClientConnectionRequest const > > const &anyReq, ::std::shared_ptr<::AsyncVerdictPromise > promisePtr)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
MCAPI ::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> subscribe(::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> closure)
Definition Alias.h:14