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.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
30class AddPlayerPacket : public ::Packet {
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 virtual ~AddPlayerPacket() /*override*/;
58
59 virtual ::MinecraftPacketIds getId() const /*override*/;
60
61 virtual ::std::string getName() const /*override*/;
62
63 virtual void write(::BinaryStream& stream) const /*override*/;
64
65 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71 MCAPI AddPlayerPacket();
72
73 MCAPI explicit AddPlayerPacket(::Player& p);
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor();
80
81 MCAPI void* $ctor(::Player& p);
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCAPI void $dtor();
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCFOLD ::MinecraftPacketIds $getId() const;
94
95 MCAPI ::std::string $getName() const;
96
97 MCAPI void $write(::BinaryStream& stream) const;
98
99 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
100
101
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCNAPI static void** $vftable();
108 // NOLINTEND
109};
static MCAPI void ** $vftable()
Definition BinaryStream.h:11
Definition DataItem.h:14
Definition Player.h:125
Definition ReadOnlyBinaryStream.h:8
Definition SynchedActorDataEntityWrapper.h:18