LeviLamina
Loading...
Searching...
No Matches
ScriptChatSendAfterEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/lifetime_registry/TypedObjectHandle.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9
10// auto generated forward declare list
11// clang-format off
12class Player;
13struct ChatEvent;
14namespace ScriptModuleMinecraft { class ScriptPlayer; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 32, ::std::string> mMessage;
26 ::ll::TypedStorage<
27 8,
28 32,
29 ::std::optional<::std::vector<::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>>>
30 mTargets;
31 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>> mSender;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
37
38public:
39 // member functions
40 // NOLINTBEGIN
42
44 ::ChatEvent const& chatEvent,
45 ::Player const& player,
47 );
48
49 MCAPI void copyTo(::ChatEvent& chatEvent, ::Scripting::WeakLifetimeScope const& scope) const;
50
51 MCAPI ::Scripting::Result_deprecated<bool> getSendToTargets_V010();
52
53 MCAPI ::Scripting::Result_deprecated<
54 ::std::vector<::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>>
55 getTargets_V010();
56
57 MCAPI ::ScriptModuleMinecraft::ScriptChatSendAfterEvent&
59
60 MCAPI ::ScriptModuleMinecraft::ScriptChatSendAfterEvent&
62
63 MCAPI ::Scripting::Result_deprecated<void> setSendToTargets_V010(bool sendToTargets);
64
65 MCAPI ::Scripting::Result_deprecated<void>
67
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCAPI static ::Scripting::ClassBinding bind();
75
76 MCAPI static ::Scripting::ClassBinding bindV010();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
83
84 MCAPI void*
85 $ctor(::ChatEvent const& chatEvent, ::Player const& player, ::Scripting::WeakLifetimeScope const& scope);
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCAPI void $dtor();
92 // NOLINTEND
93};
94
95} // namespace ScriptModuleMinecraft
Definition Player.h:123
Definition WeakLifetimeScope.h:7
Definition ChatEvent.h:14
Definition ScriptChatSendAfterEvent.h:21
Definition TypedObjectHandle.h:8