LeviLamina
Loading...
Searching...
No Matches
CommandBlockUpdatePacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorRuntimeID.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/NetworkBlockPosition.h"
9#include "mc/network/packet/Packet.h"
10#include "mc/platform/Result.h"
11#include "mc/safety/RedactableString.h"
12#include "mc/world/level/block/CommandBlockMode.h"
13
14// auto generated forward declare list
15// clang-format off
16class BinaryStream;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 12, ::NetworkBlockPosition> mBlockPos;
25 ::ll::TypedStorage<2, 2, ::CommandBlockMode> mMode;
26 ::ll::TypedStorage<1, 1, bool> mRedstoneMode;
27 ::ll::TypedStorage<1, 1, bool> mIsConditional;
28 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mEntityId;
29 ::ll::TypedStorage<8, 32, ::std::string> mCommand;
30 ::ll::TypedStorage<8, 32, ::std::string> mLastOutput;
31 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mName;
32 ::ll::TypedStorage<4, 4, int> mTickDelay;
33 ::ll::TypedStorage<1, 1, bool> mTrackOutput;
34 ::ll::TypedStorage<1, 1, bool> mExecuteOnFirstTick;
35 ::ll::TypedStorage<1, 1, bool> mIsBlock;
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 1
47 virtual ::MinecraftPacketIds getId() const /*override*/;
48
49 // vIndex: 2
50 virtual ::std::string getName() const /*override*/;
51
52 // vIndex: 4
53 virtual void write(::BinaryStream& stream) const /*override*/;
54
55 // vIndex: 8
56 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
57
58 // vIndex: 0
59 virtual ~CommandBlockUpdatePacket() /*override*/;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(::CommandBlockUpdatePacket const&);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::MinecraftPacketIds $getId() const;
84
85 MCAPI ::std::string $getName() const;
86
87 MCAPI void $write(::BinaryStream& stream) const;
88
89 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition BinaryStream.h:10
Definition CommandBlockUpdatePacket.h:20
static MCAPI void ** $vftable()
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8