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
47
48 MCNAPI ~Subscriber();
49 // NOLINTEND
50
51 public:
52 // constructor thunks
53 // NOLINTBEGIN
55 // NOLINTEND
56
57 public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62 };
63
64public:
65 // member variables
66 // NOLINTBEGIN
71 // NOLINTEND
72
73public:
74 // prevent constructor by default
75 ScriptAsyncJoinEventSignal& operator=(ScriptAsyncJoinEventSignal const&);
76 ScriptAsyncJoinEventSignal(ScriptAsyncJoinEventSignal const&);
77 ScriptAsyncJoinEventSignal();
78
79public:
80 // member functions
81 // NOLINTBEGIN
85 )> closure,
86 ::IAsyncJoinRegistrar* asyncJoinRegistrar,
87 ::PlayerAuthenticationInfo const& playerInfo,
88 ::std::shared_ptr<::AsyncVerdictPromise> promisePtr
89 );
90
91 MCNAPI ::Scripting::Closure<::Scripting::Future<
96 )> closure
97 );
98
99 MCNAPI_S void tick();
100
101 MCNAPI bool unsubscribe(
104 )> const& closure
105 );
106 // NOLINTEND
107
108public:
109 // static functions
110 // NOLINTBEGIN
111 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
112 // NOLINTEND
113};
114
115} // 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 Subscriber(::ScriptModuleServerAdmin::ScriptAsyncJoinEventSignal::Subscriber &&)
MCAPI void * $ctor(::ScriptModuleServerAdmin::ScriptAsyncJoinEventSignal::Subscriber &&)
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