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/scripting/lifetime_registry/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
40 MCFOLD ::std::string const& getTypeId() const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::Scripting::ClassBinding bind();
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::Scripting::WeakLifetimeScope const& scope, ::std::string const& id);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
73
74} // namespace ScriptModuleMinecraft
Definition WeakLifetimeScope.h:14
Definition ClassBinding.h:19