Skip to content
LeviMC
English
AutoLightDark
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/script_core/lifetime_registry/scripting/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 // ScriptActorTypes inner types define
21 using ActorTypesMap = ::std::
22 unordered_map<::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorType>>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<
28 8,
29 64,
30 ::std::unordered_map<
31 ::std::string,
33 mActorTypes;
34 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::Level const>> mLevel;
35 ::ll::TypedStorage<1, 1, bool> mRegisteredTypes;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI void add(::Scripting::WeakLifetimeScope& scope, ::std::string const& actorName);
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCNAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder, ::Level const& level);
48 // NOLINTEND
49};
50
51} // namespace ScriptModuleMinecraft
Definition Level.h:255
Definition ScriptActorType.h:20
Definition ScriptActorTypes.h:18
static MCAPI void bind(::Scripting::ModuleBindingBuilder &moduleBuilder, ::Level const &level)
MCAPI void add(::Scripting::WeakLifetimeScope &scope, ::std::string const &actorName)
Definition ModuleBindingBuilder.h:22
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12