LeviLamina
Loading...
Searching...
No Matches
ScriptComponent.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/WeakLifetimeScope.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Scripting { struct ClassBinding; }
11// clang-format on
12
13namespace ScriptModuleMinecraft {
14
15class ScriptComponent {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope const> mScope;
20 ::ll::TypedStorage<8, 32, ::std::string> mId;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 ScriptComponent();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~ScriptComponent();
31
32 virtual bool _isValid() const = 0;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ScriptComponent(::Scripting::WeakLifetimeScope const& scope, ::std::string const& id);
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::Scripting::ClassBinding bind();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::Scripting::WeakLifetimeScope const& scope, ::std::string const& id);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
65
66} // namespace ScriptModuleMinecraft
Definition WeakLifetimeScope.h:7
Definition ClassBinding.h:10