LeviLamina
Loading...
Searching...
No Matches
PlaySoundPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/packet/Packet.h"
8#include "mc/platform/Result.h"
9
10// auto generated forward declare list
11// clang-format off
12class BinaryStream;
15class Vec3;
16// clang-format on
17
18class PlaySoundPacket : public ::Packet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mName;
23 ::ll::TypedStorage<4, 12, ::NetworkBlockPosition> mPos;
24 ::ll::TypedStorage<4, 4, float> mVolume;
25 ::ll::TypedStorage<4, 4, float> mPitch;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual ::MinecraftPacketIds getId() const /*override*/;
33
34 // vIndex: 2
35 virtual ::std::string getName() const /*override*/;
36
37 // vIndex: 4
38 virtual void write(::BinaryStream& stream) const /*override*/;
39
40 // vIndex: 8
41 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
42
43 // vIndex: 0
44 virtual ~PlaySoundPacket() /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI PlaySoundPacket(::std::string name, ::Vec3 const& pos, float volume, float pitch);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::std::string name, ::Vec3 const& pos, float volume, float pitch);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCFOLD void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::MinecraftPacketIds $getId() const;
69
70 MCAPI ::std::string $getName() const;
71
72 MCAPI void $write(::BinaryStream& stream) const;
73
74 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BinaryStream.h:10
Definition NetworkBlockPosition.h:8
Definition Packet.h:26
Definition PlaySoundPacket.h:18
Definition ReadOnlyBinaryStream.h:8
Definition Vec3.h:10