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
15namespace ScriptModuleServerAdmin { struct ScriptAsyncPlayerJoinBeforeEvent; }
16namespace Scripting { class ModuleBindingBuilder; }
17// clang-format on
18
19namespace ScriptModuleServerAdmin {
20
21struct ScriptAsyncJoinEventSignal {
22public:
23 // ScriptAsyncJoinEventSignal inner types declare
24 // clang-format off
25 struct Subscriber;
26 // clang-format on
27
28 // ScriptAsyncJoinEventSignal inner types define
29 struct Subscriber {
30 public:
31 // member variables
32 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 Subscriber& operator=(Subscriber const&);
40 Subscriber(Subscriber const&);
41 Subscriber();
42
43 public:
44 // member functions
45 // NOLINTBEGIN
46 MCNAPI ~Subscriber();
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCNAPI void $dtor();
53 // NOLINTEND
54 };
55
56public:
57 // member variables
58 // NOLINTBEGIN
63 // NOLINTEND
64
65public:
66 // prevent constructor by default
67 ScriptAsyncJoinEventSignal& operator=(ScriptAsyncJoinEventSignal const&);
68 ScriptAsyncJoinEventSignal(ScriptAsyncJoinEventSignal const&);
69 ScriptAsyncJoinEventSignal();
70
71public:
72 // member functions
73 // NOLINTBEGIN
77 )> closure,
78 ::IAsyncJoinRegistrar* asyncJoinRegistrar,
79 ::PlayerAuthenticationInfo const& playerInfo,
80 ::std::shared_ptr<::AsyncVerdictPromise> promisePtr
81 );
82
83 MCNAPI ::Scripting::Closure<::Scripting::Future<
88 )> closure
89 );
90
91#ifdef LL_PLAT_S
92 MCNAPI void tick();
93#endif
94
95 MCNAPI bool unsubscribe(
98 )> const& closure
99 );
100 // NOLINTEND
101
102public:
103 // static functions
104 // NOLINTBEGIN
105 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
106 // NOLINTEND
107};
108
109} // namespace ScriptModuleServerAdmin
Definition AsyncVerdictPromise.h:11
Definition IAsyncJoinRegistrar.h:16
Definition Closure.h:8
Definition Future.h:8
Definition ModuleBindingBuilder.h:27
Definition StrongTypedObjectHandle.h:8
Definition PlayerAuthenticationInfo.h:8
Definition ScriptAsyncJoinEventSignal.h:29
MCAPI bool unsubscribe(::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> const &closure)
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
MCAPI void OnAsyncJoinCallback(::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> closure, ::IAsyncJoinRegistrar *asyncJoinRegistrar, ::PlayerAuthenticationInfo const &playerInfo, ::std::shared_ptr<::AsyncVerdictPromise > promisePtr)
MCAPI ::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> subscribe(::Scripting::Closure<::Scripting::Future< void()>(::Scripting::StrongTypedObjectHandle<::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent >)> closure)
Definition ScriptAsyncPlayerJoinBeforeEvent.h:17
Definition Alias.h:14