LeviLamina
Loading...
Searching...
No Matches
ScriptActorTypes.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
8// auto generated forward declare list
9// clang-format off
10class Level;
11namespace ScriptModuleMinecraft { class ScriptActorType; }
12namespace Scripting { class ModuleBindingBuilder; }
13namespace Scripting { class WeakLifetimeScope; }
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ScriptActorTypes& operator=(ScriptActorTypes const&);
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI void add(::Scripting::WeakLifetimeScope& scope, ::std::string const& actorName);
37
38 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorType>>
39 get(::std::string const& actorName);
40
41 MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorType>>
42 getAll(::Scripting::WeakLifetimeScope& scope);
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder, ::Level const& level);
49 // NOLINTEND
50};
51
52} // namespace ScriptModuleMinecraft
Definition Level.h:234
Definition ScriptActorTypes.h:18
Definition ModuleBindingBuilder.h:30
Definition WeakLifetimeScope.h:12
Definition Alias.h:14