LeviLamina
Loading...
Searching...
No Matches
ScriptNpcComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/scripting/modules/minecraft/components/ScriptActorComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace Scripting { struct ArgumentOutOfBoundsError; }
13namespace Scripting { struct ClassBinding; }
14namespace Scripting { struct Error; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual bool _isValid() const /*override*/;
24
25 virtual ~ScriptNpcComponent() /*override*/ = default;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::Scripting::Result_deprecated<::std::string> getDefaultScene() const;
32
33 MCAPI ::Scripting::Result_deprecated<::std::string> getName() const;
34
35 MCAPI ::Scripting::Result_deprecated<int> getSkinIndex() const;
36
37 MCAPI ::Scripting::Result_deprecated<void> setDefaultScene(::std::string sceneId);
38
39 MCAPI ::Scripting::Result_deprecated<void> setName(::std::string name);
40
41 MCAPI ::Scripting::Result<void, ::Scripting::Error, ::Scripting::ArgumentOutOfBoundsError>
42 setSkinIndex(int skinIndex);
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::Scripting::ClassBinding bind();
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI bool $_isValid() const;
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
65
66} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:22
Definition ScriptNpcComponent.h:19
Definition ArgumentOutOfBoundsError.h:15
Definition ClassBinding.h:19
Definition Error.h:10