LeviLamina
Loading...
Searching...
No Matches
PlayerUpdateEntityOverridesPacket.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/network/MinecraftPacketIds.h"
8#include "mc/network/Packet.h"
9#include "mc/network/packet/UpdateType.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
16// clang-format on
17
18class PlayerUpdateEntityOverridesPacket : public ::Packet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 8, ::std::variant<::std::monostate, int, float>> mValue;
23 ::ll::TypedStorage<1, 1, ::UpdateType> mUpdateType;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mId;
25 ::ll::TypedStorage<4, 4, uint> mPropertyIndex;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::MinecraftPacketIds getId() const /*override*/;
32
33 virtual ::std::string_view getName() const /*override*/;
34
35 virtual void write(::BinaryStream& stream) const /*override*/;
36
37 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
38
39 virtual void writeVariant(::BinaryStream& stream) const;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI PlayerUpdateEntityOverridesPacket();
46
47 MCAPI PlayerUpdateEntityOverridesPacket(
49 uint propertyIndex,
50 ::UpdateType updateType,
51 ::std::variant<::std::monostate, int, float> value
52 );
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor();
59
60 MCAPI void* $ctor(
62 uint propertyIndex,
63 ::UpdateType updateType,
64 ::std::variant<::std::monostate, int, float> value
65 );
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI ::MinecraftPacketIds $getId() const;
72
73 MCAPI ::std::string_view $getName() const;
74
75 MCAPI void $write(::BinaryStream& stream) const;
76
77 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
78
79 MCAPI void $writeVariant(::BinaryStream& stream) const;
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BinaryStream.h:11
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8
Definition ActorUniqueID.h:10