Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptAsyncPlayerJoinBeforeEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/runtime/scripting/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace ScriptModuleServerAdmin { struct DisconnectedError; }
11namespace Scripting { struct ClassBinding; }
12// clang-format on
13
14namespace ScriptModuleServerAdmin {
15
16struct ScriptAsyncPlayerJoinBeforeEvent {
17public:
18 // member variables
19 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ScriptAsyncPlayerJoinBeforeEvent();
30
31public:
32 // member functions
33 // NOLINTBEGIN
35
36 MCNAPI ::Scripting::Result<void, ::ScriptModuleServerAdmin::DisconnectedError>
37 disallowJoin(::std::optional<::std::string> message);
38
39 MCNAPI ::Scripting::Result<void, ::ScriptModuleServerAdmin::DisconnectedError>
40 disconnect(::std::optional<::std::string> disconnectReason);
41
42 MCNAPI ::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent&
44
45 MCNAPI ::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent&
47
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCNAPI static ::Scripting::ClassBinding bind();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68};
69
70} // namespace ScriptModuleServerAdmin
Definition DisconnectedError.h:15
Definition ScriptAsyncPlayerJoinBeforeEvent.h:16
MCAPI ScriptAsyncPlayerJoinBeforeEvent(::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent const &)
MCAPI ::Scripting::Result< void, ::ScriptModuleServerAdmin::DisconnectedError > disconnect(::std::optional<::std::string > disconnectReason)
static MCAPI ::Scripting::ClassBinding bind()
MCAPI::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent & operator=(::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent const &)
MCAPI ::Scripting::Result< void, ::ScriptModuleServerAdmin::DisconnectedError > disallowJoin(::std::optional<::std::string > message)
MCAPI::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent & operator=(::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent &&)
MCAPI void * $ctor(::ScriptModuleServerAdmin::ScriptAsyncPlayerJoinBeforeEvent const &)
Definition ClassBinding.h:10
Definition Alias.h:14