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/network/MinecraftPacketIds.h"
7#include "mc/network/packet/AddActorBasePacket.h"
8#include "mc/platform/Result.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class ActorRuntimeID;
16class BinaryStream;
17class DataItem;
20class Vec2;
21class Vec3;
23struct ActorLink;
24struct ActorUniqueID;
25struct PropertySyncData;
26struct SyncedAttribute;
27// clang-format on
28
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 // vIndex: 0
54 virtual ~AddActorPacket() /*override*/;
55
56 // vIndex: 1
57 virtual ::MinecraftPacketIds getId() const /*override*/;
58
59 // vIndex: 2
60 virtual ::std::string getName() const /*override*/;
61
62 // vIndex: 4
63 virtual void write(::BinaryStream& stream) const /*override*/;
64
65 // vIndex: 8
66 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCAPI AddActorPacket();
73
74 MCAPI explicit AddActorPacket(::Actor& e);
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor();
81
82 MCAPI void* $ctor(::Actor& e);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCAPI void $dtor();
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCFOLD ::MinecraftPacketIds $getId() const;
95
96 MCAPI ::std::string $getName() const;
97
98 MCAPI void $write(::BinaryStream& stream) const;
99
100 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCAPI static void** $vftable();
107 // NOLINTEND
108};
Definition ActorRuntimeID.h:5
Definition Actor.h:104
Definition AddActorBasePacket.h:15
Definition AddActorPacket.h:29
Definition AttributeInstanceHandle.h:5
Definition BaseAttributeMap.h:16
Definition BinaryStream.h:10
Definition DataItem.h:14
Definition ReadOnlyBinaryStream.h:8
Definition SynchedActorDataEntityWrapper.h:18
Definition Vec2.h:5
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition ActorUniqueID.h:5
Definition PropertySyncData.h:5
Definition SyncedAttribute.h:5