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 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI ::Scripting::Result_deprecated<::std::string> getDefaultScene() const;
30
31 MCAPI ::Scripting::Result_deprecated<::std::string> getName() const;
32
33 MCAPI ::Scripting::Result_deprecated<int> getSkinIndex() const;
34
35 MCAPI ::Scripting::Result_deprecated<void> setDefaultScene(::std::string sceneId);
36
37 MCAPI ::Scripting::Result_deprecated<void> setName(::std::string name);
38
39 MCAPI ::Scripting::Result<void, ::Scripting::Error, ::Scripting::ArgumentOutOfBoundsError>
40 setSkinIndex(int skinIndex);
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::Scripting::ClassBinding bind();
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCAPI static char const*& ComponentId();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI bool $_isValid() const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:24
Definition ScriptNpcComponent.h:19
Definition ArgumentOutOfBoundsError.h:15
Definition ClassBinding.h:19
Definition Error.h:10