LeviLamina
Loading...
Searching...
No Matches
ScriptCommandMessageEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/events/BlockObject.h"
8
9// auto generated forward declare list
10// clang-format off
11class Level;
12// clang-format on
13
14struct ScriptCommandMessageEvent {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string> mMessageId;
19 ::ll::TypedStorage<8, 32, ::std::string> mMessageValue;
20 ::ll::TypedStorage<8, 8, ::Level const&> mLevel;
21 ::ll::TypedStorage<8, 16, ::std::optional<::ActorUniqueID>> mSourceActor;
22 ::ll::TypedStorage<8, 32, ::std::optional<::BlockObject>> mBlockObject;
23 ::ll::TypedStorage<8, 16, ::std::optional<::ActorUniqueID>> mInitiator;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ScriptCommandMessageEvent& operator=(ScriptCommandMessageEvent const&);
29 ScriptCommandMessageEvent(ScriptCommandMessageEvent const&);
30 ScriptCommandMessageEvent();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ScriptCommandMessageEvent(
36 ::std::string const& messageId,
37 ::std::string const& messageValue,
38 ::Level const& level,
39 ::std::optional<::ActorUniqueID> sourceActor,
40 ::std::optional<::BlockObject> blockObject,
41 ::std::optional<::ActorUniqueID> initiatorId
42 );
43
44 MCAPI ~ScriptCommandMessageEvent();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(
51 ::std::string const& messageId,
52 ::std::string const& messageValue,
53 ::Level const& level,
54 ::std::optional<::ActorUniqueID> sourceActor,
55 ::std::optional<::BlockObject> blockObject,
56 ::std::optional<::ActorUniqueID> initiatorId
57 );
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCFOLD void $dtor();
64 // NOLINTEND
65};
Definition Level.h:254