LeviLamina
Loading...
Searching...
No Matches
LevelSoundEventPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
8#include "mc/legacy/ActorUniqueID.h"
9#include "mc/network/MinecraftPacketIds.h"
10#include "mc/network/packet/Packet.h"
11#include "mc/platform/Result.h"
12
13// auto generated forward declare list
14// clang-format off
15class BinaryStream;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 32, ::std::string> mActorIdentifier;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mActor;
25 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mEventId;
26 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
27 ::ll::TypedStorage<4, 4, int> mData;
28 ::ll::TypedStorage<1, 1, bool> mIsGlobal;
29 ::ll::TypedStorage<1, 1, bool> mIsBaby;
30 // NOLINTEND
31
32public:
33 LevelSoundEventPacket() = default;
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 1
39 virtual ::MinecraftPacketIds getId() const /*override*/;
40
41 // vIndex: 2
42 virtual ::std::string getName() const /*override*/;
43
44 // vIndex: 4
45 virtual void write(::BinaryStream& stream) const /*override*/;
46
47 // vIndex: 8
48 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
49
50 // vIndex: 0
51 virtual ~LevelSoundEventPacket() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::LevelSoundEventPacket&&);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCFOLD void $dtor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI ::MinecraftPacketIds $getId() const;
76
77 MCAPI ::std::string $getName() const;
78
79 MCAPI void $write(::BinaryStream& stream) const;
80
81 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BinaryStream.h:10
Definition LevelSoundEventPacket.h:19
static MCAPI void ** $vftable()
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8