LeviLamina
Loading...
Searching...
No Matches
SetActorMotionPacket.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/legacy/ActorRuntimeID.h"
8#include "mc/network/MinecraftPacketIds.h"
9#include "mc/network/packet/Packet.h"
10#include "mc/network/packet/PlayerInputTick.h"
11#include "mc/platform/Result.h"
12
13// auto generated forward declare list
14// clang-format off
15class Actor;
16class BinaryStream;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
25 ::ll::TypedStorage<4, 12, ::Vec3> mMotion;
26 ::ll::TypedStorage<8, 8, ::PlayerInputTick> mTick;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~SetActorMotionPacket() /*override*/;
38
39 // vIndex: 1
40 virtual ::MinecraftPacketIds getId() const /*override*/;
41
42 // vIndex: 2
43 virtual ::std::string getName() const /*override*/;
44
45 // vIndex: 4
46 virtual void write(::BinaryStream& stream) const /*override*/;
47
48 // vIndex: 8
49 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI explicit SetActorMotionPacket(::Actor const& entity);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::Actor const& entity);
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCFOLD void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD ::MinecraftPacketIds $getId() const;
74
75 MCAPI ::std::string $getName() const;
76
77 MCAPI void $write(::BinaryStream& stream) const;
78
79 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition Actor.h:103
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition SetActorMotionPacket.h:20
static MCAPI void ** $vftable()