LeviLamina
Loading...
Searching...
No Matches
AddPlayerPacket.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/core/platform/BuildPlatform.h"
9#include "mc/legacy/ActorRuntimeID.h"
10#include "mc/legacy/ActorUniqueID.h"
11#include "mc/network/MinecraftPacketIds.h"
12#include "mc/network/packet/AddActorBasePacket.h"
13#include "mc/platform/Result.h"
14#include "mc/platform/UUID.h"
15#include "mc/world/actor/player/LayeredAbilities.h"
16#include "mc/world/actor/state/PropertySyncData.h"
17#include "mc/world/item/NetworkItemStackDescriptor.h"
18#include "mc/world/level/GameType.h"
19
20// auto generated forward declare list
21// clang-format off
22class BinaryStream;
23class DataItem;
24class Player;
27struct ActorLink;
28// clang-format on
29
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 24, ::std::vector<::ActorLink>> mLinks;
35 ::ll::TypedStorage<8, 32, ::std::string> mName;
36 ::ll::TypedStorage<8, 16, ::mce::UUID> mUuid;
37 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
38 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
39 ::ll::TypedStorage<8, 32, ::std::string> mPlatformOnlineId;
40 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
41 ::ll::TypedStorage<4, 12, ::Vec3> mVelocity;
42 ::ll::TypedStorage<4, 8, ::Vec2> mRot;
43 ::ll::TypedStorage<4, 4, float> mYHeadRot;
44 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::DataItem>>> mUnpack;
45 ::ll::TypedStorage<4, 1444, ::LayeredAbilities> mAbilities;
46 ::ll::TypedStorage<8, 32, ::std::string> mDeviceId;
47 ::ll::TypedStorage<4, 4, ::BuildPlatform> mBuildPlatform;
48 ::ll::TypedStorage<4, 4, ::GameType> mPlayerGameType;
49 ::ll::TypedStorage<8, 96, ::NetworkItemStackDescriptor> mCarriedItem;
50 ::ll::TypedStorage<8, 8, ::SynchedActorDataEntityWrapper const*> mEntityData;
51 ::ll::TypedStorage<8, 48, ::PropertySyncData> mSynchedProperties;
52 // NOLINTEND
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
57 // vIndex: 0
58 virtual ~AddPlayerPacket() /*override*/;
59
60 // vIndex: 1
61 virtual ::MinecraftPacketIds getId() const /*override*/;
62
63 // vIndex: 2
64 virtual ::std::string getName() const /*override*/;
65
66 // vIndex: 4
67 virtual void write(::BinaryStream& stream) const /*override*/;
68
69 // vIndex: 8
70 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
71 // NOLINTEND
72
73public:
74 // member functions
75 // NOLINTBEGIN
76 MCAPI AddPlayerPacket();
77
78 MCAPI explicit AddPlayerPacket(::Player& p);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI void* $ctor();
85
86 MCAPI void* $ctor(::Player& p);
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCFOLD ::MinecraftPacketIds $getId() const;
99
100 MCAPI ::std::string $getName() const;
101
102 MCAPI void $write(::BinaryStream& stream) const;
103
104 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCNAPI static void** $vftable();
111 // NOLINTEND
112};
Definition AddActorBasePacket.h:15
Definition AddPlayerPacket.h:30
static MCAPI void ** $vftable()
Definition BinaryStream.h:10
Definition DataItem.h:14
Definition Player.h:119
Definition ReadOnlyBinaryStream.h:8
Definition SynchedActorDataEntityWrapper.h:18