Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AddActorPacketPayload.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/deps/vanilla_components/PassengerOfBlockArguments.h"
9#include "mc/legacy/ActorRuntimeID.h"
10#include "mc/legacy/ActorUniqueID.h"
11#include "mc/world/actor/SynchedActorData.h"
12#include "mc/world/actor/state/PropertySyncData.h"
13
14// auto generated forward declare list
15// clang-format off
16class Actor;
17struct ActorLink;
18struct SyncedAttribute;
19// clang-format on
20
21struct AddActorPacketPayload {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
26 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
27 ::ll::TypedStorage<8, 32, ::std::string> mActorType;
28 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
29 ::ll::TypedStorage<4, 12, ::Vec3> mVelocity;
30 ::ll::TypedStorage<4, 8, ::Vec2> mRot;
31 ::ll::TypedStorage<4, 4, float> mYHeadRotation;
32 ::ll::TypedStorage<4, 4, float> mYBodyRotation;
33 ::ll::TypedStorage<8, 24, ::std::vector<::SyncedAttribute>> mAttributes;
34 ::ll::TypedStorage<8, 24, ::SynchedActorData::CopyableDataList> mData;
35 ::ll::TypedStorage<8, 48, ::PropertySyncData> mSynchedProperties;
36 ::ll::TypedStorage<8, 24, ::std::vector<::ActorLink>> mLinks;
37 ::ll::TypedStorage<4, 40, ::std::optional<::PassengerOfBlockArguments>> mPassengerOfBlockData;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 AddActorPacketPayload();
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI explicit AddActorPacketPayload(::Actor& e);
48
49 MCAPI ~AddActorPacketPayload();
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCNAPI void* $ctor(::Actor& e);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition Actor.h:116
MCAPI AddActorPacketPayload(::Actor &e)
MCAPI void * $ctor(::Actor &e)
Definition SyncedAttribute.h:5