LeviLamina
Loading...
Searching...
No Matches
UpdateBlockPacketPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class ILevel;
12// clang-format on
13
14struct UpdateBlockPacketPayload {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 12, ::BlockPos> mPos;
19 ::ll::TypedStorage<4, 4, uint> mLayer;
20 ::ll::TypedStorage<1, 1, uchar> mUpdateFlags;
21 ::ll::TypedStorage<4, 4, uint> mRuntimeId;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 UpdateBlockPacketPayload();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI UpdateBlockPacketPayload(::BlockPos const& pos, uint layer, uint runtimeId, uchar updateFlags);
32
33#ifdef LL_PLAT_C
34 MCFOLD ::Block const& getBlock(::ILevel const& level) const;
35#endif
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCAPI void* $ctor(::BlockPos const& pos, uint layer, uint runtimeId, uchar updateFlags);
42 // NOLINTEND
43};
Definition BlockPos.h:21
Definition Block.h:69
Definition ILevel.h:219