LeviLamina
Loading...
Searching...
No Matches
UpdatePlayerGameTypePacket.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#include "mc/world/level/GameType.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
15struct ActorUniqueID;
16struct PlayerInputTick;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::GameType> mPlayerGameType;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mTargetPlayer;
25 ::ll::TypedStorage<8, 8, ::PlayerInputTick> mTick;
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 ~UpdatePlayerGameTypePacket() /*override*/;
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::MinecraftPacketIds $getId() const;
57
58 MCAPI ::std::string $getName() const;
59
60 MCAPI void $write(::BinaryStream& stream) const;
61
62 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition UpdatePlayerGameTypePacket.h:19
Definition ActorUniqueID.h:5
Definition PlayerInputTick.h:5