LeviLamina
Loading...
Searching...
No Matches
AddActorPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec2.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/legacy/ActorRuntimeID.h"
9#include "mc/legacy/ActorUniqueID.h"
10#include "mc/network/MinecraftPacketIds.h"
11#include "mc/network/Packet.h"
12#include "mc/platform/Result.h"
13#include "mc/world/actor/ActorDefinitionIdentifier.h"
14#include "mc/world/actor/state/PropertySyncData.h"
15
16// auto generated forward declare list
17// clang-format off
18class Actor;
21class BinaryStream;
22class DataItem;
25struct ActorLink;
26struct SyncedAttribute;
27// clang-format on
28
29class AddActorPacket : public ::Packet {
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 24, ::std::vector<::ActorLink>> mLinks;
34 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
35 ::ll::TypedStorage<4, 12, ::Vec3> mVelocity;
36 ::ll::TypedStorage<4, 8, ::Vec2> mRot;
37 ::ll::TypedStorage<4, 4, float> mYHeadRotation;
38 ::ll::TypedStorage<4, 4, float> mYBodyRotation;
39 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
40 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
41 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::DataItem>>> mData;
42 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mType;
43 ::ll::TypedStorage<8, 24, ::std::vector<::SyncedAttribute>> mAttributes;
44 ::ll::TypedStorage<8, 48, ::PropertySyncData> mSynchedProperties;
45 ::ll::TypedStorage<8, 24, ::std::vector<::AttributeInstanceHandle>> mAttributeHandles;
46 ::ll::TypedStorage<8, 8, ::BaseAttributeMap const*> mMap;
47 ::ll::TypedStorage<8, 8, ::SynchedActorDataEntityWrapper*> mEntityData;
48 // NOLINTEND
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 virtual ~AddActorPacket() /*override*/;
54
55 virtual ::MinecraftPacketIds getId() const /*override*/;
56
57 virtual ::std::string getName() const /*override*/;
58
59 virtual void write(::BinaryStream& stream) const /*override*/;
60
61 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
62 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI AddActorPacket();
68
69 MCAPI explicit AddActorPacket(::Actor& e);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor();
76
77 MCAPI void* $ctor(::Actor& e);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCAPI void $dtor();
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCFOLD ::MinecraftPacketIds $getId() const;
90
91 MCAPI ::std::string $getName() const;
92
93 MCAPI void $write(::BinaryStream& stream) const;
94
95 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
96
97
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition Actor.h:105
static MCAPI void ** $vftable()
Definition AttributeInstanceHandle.h:5
Definition BaseAttributeMap.h:19
Definition BinaryStream.h:11
Definition DataItem.h:14
Definition ReadOnlyBinaryStream.h:8
Definition SynchedActorDataEntityWrapper.h:18
Definition SyncedAttribute.h:5