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, 40, ::std::optional<::std::string> const> 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 ::std::string const& getTypeId_V1() const;
33
34 virtual ::std::string const& getTypeId_V2() const;
35
36 virtual bool _isValid() const = 0;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI ScriptComponent(::Scripting::WeakLifetimeScope const& scope, ::std::optional<::std::string> id);
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::Scripting::ClassBinding bind();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::Scripting::WeakLifetimeScope const& scope, ::std::optional<::std::string> id);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCFOLD void $dtor();
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::std::string const& $getTypeId_V1() const;
67
68 MCFOLD ::std::string const& $getTypeId_V2() const;
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
79
80} // namespace ScriptModuleMinecraft
Definition WeakLifetimeScope.h:7
Definition ClassBinding.h:19