Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptScreenDisplay.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/deps/script_core/runtime/scripting/Result.h"
8#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
9
10// auto generated forward declare list
11// clang-format off
12class Player;
13namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
14namespace ScriptModuleMinecraft { struct ScriptRawMessageError; }
15namespace ScriptModuleMinecraft { struct ScriptRawMessageInterface; }
16namespace ScriptModuleMinecraft { struct ScriptTitleDisplayOptions; }
17namespace Scripting { struct ArgumentOutOfBoundsError; }
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mEntityRef;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI ::Scripting::Result<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageError> _getJsonString(
34 ::Player& player,
35 ::std::variant<
36 ::std::string,
38 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>> const&
39 text
40 ) const;
41
42 MCNAPI ::Scripting::
43 Result<void, ::ScriptModuleMinecraft::ScriptRawMessageError, ::ScriptModuleMinecraft::ScriptInvalidActorError>
45 ::std::variant<
46 ::std::string,
48 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>> const&
49 text
50 ) const;
51
52 MCNAPI ::Scripting::Result_deprecated<void> setActionBar_V010(
53 ::std::variant<
54 ::std::string,
56 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>> const&
57 text
58 ) const;
59
60 MCNAPI ::Scripting::Result<
61 void,
66 ::std::variant<
67 ::std::string,
69 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>> const&
70 title,
71 ::std::optional<::ScriptModuleMinecraft::ScriptTitleDisplayOptions> options
72 ) const;
73
74 MCNAPI ::Scripting::
75 Result<void, ::ScriptModuleMinecraft::ScriptRawMessageError, ::ScriptModuleMinecraft::ScriptInvalidActorError>
77 ::std::variant<
78 ::std::string,
80 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>> const&
81 subtitle
82 ) const;
83
84 MCNAPI ::Scripting::Result_deprecated<void> updateSubtitle_V010(
85 ::std::variant<
86 ::std::string,
88 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>> const&
89 subtitle
90 ) const;
91 // NOLINTEND
92
93public:
94 // static functions
95 // NOLINTBEGIN
96 MCNAPI static ::Scripting::ClassBinding bind();
97 // NOLINTEND
98};
99
100} // namespace ScriptModuleMinecraft
Definition Player.h:131
Definition ScriptInvalidActorError.h:18
Definition ScriptRawMessageError.h:15
Definition ScriptRawMessageInterface.h:20
Definition ScriptScreenDisplay.h:23
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptRawMessageError, ::ScriptModuleMinecraft::ScriptInvalidActorError, ::Scripting::ArgumentOutOfBoundsError > setTitle(::std::variant< ::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface, ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > > > const &title, ::std::optional<::ScriptModuleMinecraft::ScriptTitleDisplayOptions > options) const
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptRawMessageError, ::ScriptModuleMinecraft::ScriptInvalidActorError > setActionBar(::std::variant< ::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface, ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > > > const &text) const
static MCAPI ::Scripting::ClassBinding bind()
MCAPI ::Scripting::Result_deprecated< void > updateSubtitle_V010(::std::variant< ::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface, ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > > > const &subtitle) const
MCAPI ::Scripting::Result<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageError > _getJsonString(::Player &player, ::std::variant< ::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface, ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > > > const &text) const
MCAPI ::Scripting::Result_deprecated< void > setActionBar_V010(::std::variant< ::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface, ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > > > const &text) const
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptRawMessageError, ::ScriptModuleMinecraft::ScriptInvalidActorError > updateSubtitle(::std::variant< ::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface, ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface > > > const &subtitle) const
Definition ScriptTitleDisplayOptions.h:15
Definition ArgumentOutOfBoundsError.h:10
Definition ClassBinding.h:10