LeviLamina
Loading...
Searching...
No Matches
ScriptActorType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9
10// auto generated forward declare list
11// clang-format off
12class ActorDefinition;
13namespace ScriptModuleMinecraft { class ScriptDynamicPropertiesDefinition; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
21public:
22 // ScriptActorType inner types declare
23 // clang-format off
24 struct Key;
25 // clang-format on
26
27 // ScriptActorType inner types define
28 struct Key {
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 48, ::HashedString> mId;
33 // NOLINTEND
34
35 public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ~Key();
39 // NOLINTEND
40
41 public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCFOLD void $dtor();
45 // NOLINTEND
46 };
47
48public:
49 // member variables
50 // NOLINTBEGIN
51 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::ActorDefinition>> mActorDefinition;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI ::Scripting::Result_deprecated<void> addDynamicPropertiesDefinition(
58 ::ScriptModuleMinecraft::ScriptDynamicPropertiesDefinition const& dynamicPropertiesDefinition
59 );
60
61 MCAPI ::std::string getId() const;
62
63 MCAPI bool operator==(::ScriptModuleMinecraft::ScriptActorType const& other) const;
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static ::Scripting::ClassBinding bind();
70
71 MCAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActorType>
72 getOrCreateHandle(::Scripting::WeakLifetimeScope const& scope, ::ActorDefinition& actorDef);
73 // NOLINTEND
74};
75
76} // namespace ScriptModuleMinecraft
Definition ActorDefinition.h:80
Definition ScriptActorType.h:20
Definition ScriptDynamicPropertiesDefinition.h:19
Definition WeakLifetimeScope.h:7
Definition ScriptActorType.h:28