Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptAllowList.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7#include "mc/deps/script_core/runtime/scripting/Result.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace ScriptModuleMinecraft { class ScriptPlayer; }
12namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
13namespace ScriptModuleServerAdmin { class ScriptAllowListModificationError; }
14namespace Scripting { class ModuleBindingBuilder; }
15namespace Scripting { struct InvalidArgumentError; }
16// clang-format on
17
18namespace ScriptModuleServerAdmin {
19
20class ScriptAllowList {
21public:
22 // ScriptAllowList inner types declare
23 // clang-format off
24 struct AllowListEntry;
26 // clang-format on
27
28 // ScriptAllowList inner types define
29 struct AllowListEntry {
30 public:
31 // member variables
32 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 AllowListEntry& operator=(AllowListEntry const&);
41 AllowListEntry(AllowListEntry const&);
42 AllowListEntry();
43
44 public:
45 // member functions
46 // NOLINTBEGIN
48 // NOLINTEND
49 };
50
51 struct AllowListEntryNameInfo {
52 public:
53 // member variables
54 // NOLINTBEGIN
57 // NOLINTEND
58
59 public:
60 // prevent constructor by default
61 AllowListEntryNameInfo& operator=(AllowListEntryNameInfo const&);
62 AllowListEntryNameInfo(AllowListEntryNameInfo const&);
63 AllowListEntryNameInfo();
64
65 public:
66 // member functions
67 // NOLINTBEGIN
69 // NOLINTEND
70 };
71
72public:
73 // member variables
74 // NOLINTBEGIN
76 // NOLINTEND
77
78public:
79 // prevent constructor by default
80 ScriptAllowList& operator=(ScriptAllowList const&);
81 ScriptAllowList(ScriptAllowList const&);
82 ScriptAllowList();
83
84public:
85 // static functions
86 // NOLINTBEGIN
87 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
88 // NOLINTEND
89};
90
91} // namespace ScriptModuleServerAdmin
Definition ScriptPlayer.h:42
Definition ScriptAllowListModificationError.h:15
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder)
Definition ModuleBindingBuilder.h:22
Definition ScriptInvalidActorError.h:18
MCAPI bool operator==(::ScriptModuleServerAdmin::ScriptAllowList::AllowListEntryNameInfo const &) const
MCAPI bool operator==(::ScriptModuleServerAdmin::ScriptAllowList::AllowListEntry const &) const
Definition InvalidArgumentError.h:11
Definition Alias.h:14