Skip to content
LeviLamina
Loading...
Searching...
No Matches
StartGamePacketPayload.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/resource/ContentIdentity.h"
9#include "mc/deps/nbt/CompoundTag.h"
10#include "mc/events/event_data/ServerTelemetryData.h"
11#include "mc/legacy/ActorRuntimeID.h"
12#include "mc/legacy/ActorUniqueID.h"
13#include "mc/network/NetworkPermissions.h"
14#include "mc/platform/UUID.h"
15#include "mc/server/config/server_configuration/ServerConfigurationJoinInfo.h"
16#include "mc/world/actor/player/SyncedPlayerMovementSettings.h"
17#include "mc/world/level/GameType.h"
18#include "mc/world/level/LevelSettings.h"
19
20// auto generated forward declare list
21// clang-format off
25// clang-format on
26
27struct StartGamePacketPayload {
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 1344, ::LevelSettings> mSettings;
32 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
33 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
34 ::ll::TypedStorage<4, 4, ::GameType> mEntityGameType;
35 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
36 ::ll::TypedStorage<4, 8, ::Vec2> mRot;
37 ::ll::TypedStorage<8, 32, ::std::string> mLevelId;
38 ::ll::TypedStorage<8, 32, ::std::string> mLevelName;
39 ::ll::TypedStorage<8, 24, ::ContentIdentity> mTemplateContentIdentity;
40 ::ll::TypedStorage<8, 16, ::mce::UUID> mWorldTemplateId;
41 ::ll::TypedStorage<1, 1, bool> mIsTrial;
42 ::ll::TypedStorage<4, 8, ::SyncedPlayerMovementSettings> mMovementSettings;
43 ::ll::TypedStorage<8, 8, uint64> mLevelCurrentTime;
44 ::ll::TypedStorage<4, 4, int> mEnchantmentSeed;
45 ::ll::TypedStorage<8, 32, ::std::string> mMultiplayerCorrelationId;
46 ::ll::TypedStorage<1, 1, bool> mEnableItemStackNetManager;
47 ::ll::TypedStorage<8, 32, ::std::string> mServerVersion;
48 ::ll::TypedStorage<8, 24, ::CompoundTag> mPlayerPropertyData;
49 ::ll::TypedStorage<8, 8, uint64> mServerBlockTypeRegistryChecksum;
50 ::ll::TypedStorage<1, 1, bool> mServerEnabledClientSideGeneration;
51 ::ll::TypedStorage<1, 1, bool> mBlockNetworkIdsAreHashes;
52 ::ll::TypedStorage<1, 1, ::NetworkPermissions> mNetworkPermissions;
53 ::ll::TypedStorage<8, 24, ::std::vector<::ServerBlockProperty>> mBlockProperties;
54 ::ll::TypedStorage<8, 384, ::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo>>
55 mServerConfigurationJoinInfo;
56 ::ll::TypedStorage<8, 128, ::Social::Events::ServerTelemetryData> mServerTelemetryData;
57 // NOLINTEND
58
59public:
60 // prevent constructor by default
61 StartGamePacketPayload& operator=(StartGamePacketPayload const&);
62 StartGamePacketPayload(StartGamePacketPayload const&);
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI StartGamePacketPayload();
68
69 MCAPI StartGamePacketPayload(::StartGamePacketPayload&&);
70
71 MCAPI StartGamePacketPayload(
72 ::LevelSettings const& settings,
73 ::ActorUniqueID entityId,
74 ::ActorRuntimeID runtimeId,
75 ::GameType entityGameType,
76 bool enableItemStackNetManager,
77 ::Vec3 const& pos,
78 ::Vec2 const& rot,
79 ::std::string const& levelId,
80 ::std::string const& levelName,
81 ::ContentIdentity const& premiumTemplateContentIdentity,
82 ::std::string const& multiplayerCorrelationId,
83 ::BlockDefinitionGroup const& blockDefinitionGroup,
84 bool isTrial,
85 ::CompoundTag playerPropertyData,
86 ::PlayerMovementSettings const& movementSettings,
87 ::std::string const& serverVersion,
88 ::mce::UUID const& worldTemplateId,
89 ::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo> const& serverJoinInfo,
90 ::Social::Events::ServerTelemetryData const& serverTelemetryData,
91 uint64 levelCurrentTime,
92 int enchantmentSeed,
93 uint64 blockTypeRegistryChecksum
94 );
95
96#ifdef LL_PLAT_C
97 MCAPI ::std::string getMultiplayerCorrelationId() const;
98#endif
99
100 MCAPI ~StartGamePacketPayload();
101 // NOLINTEND
102
103public:
104 // constructor thunks
105 // NOLINTBEGIN
106 MCAPI void* $ctor();
107
108 MCAPI void* $ctor(::StartGamePacketPayload&&);
109
110 MCAPI void* $ctor(
111 ::LevelSettings const& settings,
112 ::ActorUniqueID entityId,
113 ::ActorRuntimeID runtimeId,
114 ::GameType entityGameType,
115 bool enableItemStackNetManager,
116 ::Vec3 const& pos,
117 ::Vec2 const& rot,
118 ::std::string const& levelId,
119 ::std::string const& levelName,
120 ::ContentIdentity const& premiumTemplateContentIdentity,
121 ::std::string const& multiplayerCorrelationId,
122 ::BlockDefinitionGroup const& blockDefinitionGroup,
123 bool isTrial,
124 ::CompoundTag playerPropertyData,
125 ::PlayerMovementSettings const& movementSettings,
126 ::std::string const& serverVersion,
127 ::mce::UUID const& worldTemplateId,
128 ::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo> const& serverJoinInfo,
129 ::Social::Events::ServerTelemetryData const& serverTelemetryData,
130 uint64 levelCurrentTime,
131 int enchantmentSeed,
132 uint64 blockTypeRegistryChecksum
133 );
134 // NOLINTEND
135
136public:
137 // destructor thunk
138 // NOLINTBEGIN
139 MCAPI void $dtor();
140 // NOLINTEND
141};
Definition ActorRuntimeID.h:5
Definition BlockDefinitionGroup.h:35
Definition CompoundTag.h:18
Definition ContentIdentity.h:8
Definition LevelSettings.h:38
Definition Vec2.h:5
Definition Vec3.h:10
Definition UUID.h:8
Definition ActorUniqueID.h:5
Definition PlayerMovementSettings.h:9
Definition ServerBlockProperty.h:8
Definition ServerTelemetryData.h:7