Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StartGamePacket Class Reference
Inheritance diagram for StartGamePacket:

Public Types

using PayloadType

Public Member Functions

virtual::MinecraftPacketIds getId () const
virtual::std::string_view getName () const
virtual::SerializationMode getSerializationMode () const
virtual void setSerializationMode (::SerializationMode mode)
virtual void writeWithSerializationMode (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx, ::std::optional<::SerializationMode > overrideMode) const
virtual void write (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx) const
virtual void write (::BinaryStream &stream) const
virtual ::Bedrock::Result< void > read (::ReadOnlyBinaryStream &bitStream, ::cereal::ReflectionCtx const &reflectionCtx)
virtual bool disallowBatching () const
virtual bool isValid () const
virtual uint64 getMaxSize () const
virtual::std::string toString () const
virtual ::Bedrock::Result< void > _read (::ReadOnlyBinaryStream &stream)
virtual ::Bedrock::Result< void > _read (::ReadOnlyBinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx)
MCAPI StartGamePacket (::StartGamePacketPayload payload)
MCAPI void * $ctor (::StartGamePacketPayload payload)
MCAPI::MinecraftPacketIds $getId () const
MCAPI::std::string_view $getName () const
MCAPI::SerializationMode $getSerializationMode () const
MCAPI void $setSerializationMode (::SerializationMode mode)
MCAPI void $writeWithSerializationMode (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx, ::std::optional<::SerializationMode > overrideMode) const
MCAPI void $write (::BinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx) const
MCAPI void $write (::BinaryStream &stream) const
MCAPI ::Bedrock::Result< void > $read (::ReadOnlyBinaryStream &bitStream, ::cereal::ReflectionCtx const &reflectionCtx)
MCAPI bool $disallowBatching () const
MCAPI bool $isValid () const
MCAPI uint64 $getMaxSize () const
MCAPI::std::string $toString () const
MCAPI ::Bedrock::Result< void > $_read (::ReadOnlyBinaryStream &stream)
MCAPI ::Bedrock::Result< void > $_read (::ReadOnlyBinaryStream &stream, ::cereal::ReflectionCtx const &reflectionCtx)
LLAPI void sendTo (Player const &player) const
LLAPI void sendTo (BlockPos const &pos, DimensionType dimId, optional_ref< Player const > except=std::nullopt) const
LLAPI void sendTo (Actor const &actor, optional_ref< Player const > except=std::nullopt) const
LLAPI void sendToClient (NetworkIdentifier const &identifier, ::SubClientId clientId) const
LLAPI void sendToClient (NetworkIdentifierWithSubId const &identifierWithSubId) const
LLAPI void sendToClients () const
LLAPI void sendToClients (NetworkIdentifier const &exceptId, ::SubClientId exceptSubid) const
LLAPI void sendToServer () const
virtual ::Bedrock::Result< void > checkSize (uint64 packetSize, bool receiverIsServer) const
virtual ::Bedrock::Result< void > read (::ReadOnlyBinaryStream &bitStream)
MCAPI ::Bedrock::Result< void > $checkSize (uint64 packetSize, bool receiverIsServer) const
MCAPI ::Bedrock::Result< void > $read (::ReadOnlyBinaryStream &bitStream)
MCAPI void * $ctor ()
MCAPI void * $ctor (::StartGamePacketPayload &&)
MCAPI void * $ctor (::LevelSettings const &settings, ::ActorUniqueID entityId, ::ActorRuntimeID runtimeId, ::GameType entityGameType, bool enableItemStackNetManager, ::Vec3 const &pos, ::Vec2 const &rot, ::std::string const &levelId, ::std::string const &levelName, ::ContentIdentity const &premiumTemplateContentIdentity, ::std::string const &multiplayerCorrelationId, ::BlockDefinitionGroup const &blockDefinitionGroup, bool isTrial, ::CompoundTag playerPropertyData, ::PlayerMovementSettings const &movementSettings, ::std::string const &serverVersion, ::mce::UUID const &worldTemplateId, ::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo > const &serverJoinInfo, ::Social::Events::ServerTelemetryData const &serverTelemetryData, uint64 levelCurrentTime, int enchantmentSeed, uint64 blockTypeRegistryChecksum)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, ::SerializationMode > mSerializationMode
::PacketPriority mPriority
::NetworkPeer::Reliability mReliability
::SubClientId mSenderSubId
bool mIsHandled
::std::chrono::steady_clock::time_point mReceiveTimepoint
::IPacketHandlerDispatcher const * mHandler
::Compressibility mCompressible
::ll::TypedStorage< 8, 1344, ::LevelSettings > mSettings
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mEntityId
::ll::TypedStorage< 8, 8, ::ActorRuntimeID > mRuntimeId
::ll::TypedStorage< 4, 4, ::GameType > mEntityGameType
::ll::TypedStorage< 4, 12, ::Vec3 > mPos
::ll::TypedStorage< 4, 8, ::Vec2 > mRot
::ll::TypedStorage< 8, 32, ::std::string > mLevelId
::ll::TypedStorage< 8, 32, ::std::string > mLevelName
::ll::TypedStorage< 8, 24, ::ContentIdentity > mTemplateContentIdentity
::ll::TypedStorage< 8, 16, ::mce::UUID > mWorldTemplateId
::ll::TypedStorage< 1, 1, bool > mIsTrial
::ll::TypedStorage< 4, 8, ::SyncedPlayerMovementSettings > mMovementSettings
::ll::TypedStorage< 8, 8, uint64 > mLevelCurrentTime
::ll::TypedStorage< 4, 4, int > mEnchantmentSeed
::ll::TypedStorage< 8, 32, ::std::string > mMultiplayerCorrelationId
::ll::TypedStorage< 1, 1, bool > mEnableItemStackNetManager
::ll::TypedStorage< 8, 32, ::std::string > mServerVersion
::ll::TypedStorage< 8, 24, ::CompoundTag > mPlayerPropertyData
::ll::TypedStorage< 8, 8, uint64 > mServerBlockTypeRegistryChecksum
::ll::TypedStorage< 1, 1, bool > mServerEnabledClientSideGeneration
::ll::TypedStorage< 1, 1, bool > mBlockNetworkIdsAreHashes
::ll::TypedStorage< 1, 1, ::NetworkPermissions > mNetworkPermissions
::ll::TypedStorage< 8, 24, ::std::vector<::ServerBlockProperty > > mBlockProperties
::ll::TypedStorage< 8, 384, ::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo > > mServerConfigurationJoinInfo
::ll::TypedStorage< 8, 128, ::Social::Events::ServerTelemetryData > mServerTelemetryData

Constructor & Destructor Documentation

◆ StartGamePacket()

MCAPI StartGamePacket::StartGamePacket ( ::StartGamePacketPayload payload)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getId()

virtual::MinecraftPacketIds StartGamePacket::getId ( ) const
virtual

Implements Packet.

◆ getName()

virtual::std::string_view StartGamePacket::getName ( ) const
virtual

Implements Packet.

◆ setSerializationMode()

virtual void StartGamePacket::setSerializationMode ( ::SerializationMode mode)
virtual

Reimplemented from Packet.

◆ writeWithSerializationMode()

virtual void StartGamePacket::writeWithSerializationMode ( ::BinaryStream & stream,
::cereal::ReflectionCtx const & reflectionCtx,
::std::optional<::SerializationMode > overrideMode ) const
virtual

Reimplemented from Packet.

◆ write() [1/2]

virtual void StartGamePacket::write ( ::BinaryStream & stream,
::cereal::ReflectionCtx const & reflectionCtx ) const
virtual

Reimplemented from Packet.

◆ write() [2/2]

virtual void StartGamePacket::write ( ::BinaryStream & stream) const
virtual

Implements Packet.

◆ disallowBatching()

virtual bool StartGamePacket::disallowBatching ( ) const
virtual

Reimplemented from Packet.

◆ isValid()

virtual bool StartGamePacket::isValid ( ) const
virtual

Reimplemented from Packet.

◆ getMaxSize()

virtual uint64 StartGamePacket::getMaxSize ( ) const
virtual

Reimplemented from Packet.

◆ _read()

virtual ::Bedrock::Result< void > StartGamePacket::_read ( ::ReadOnlyBinaryStream & stream)
virtual

Implements Packet.

◆ $ctor() [1/4]

MCAPI void * StartGamePacket::$ctor ( ::StartGamePacketPayload payload)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getId()

MCAPI::MinecraftPacketIds StartGamePacket::$getId ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getName()

MCAPI::std::string_view StartGamePacket::$getName ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getSerializationMode()

MCAPI::SerializationMode StartGamePacket::$getSerializationMode ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setSerializationMode()

MCAPI void StartGamePacket::$setSerializationMode ( ::SerializationMode mode)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $write()

MCAPI void StartGamePacket::$write ( ::BinaryStream & stream,
::cereal::ReflectionCtx const & reflectionCtx ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $read()

MCAPI ::Bedrock::Result< void > StartGamePacket::$read ( ::ReadOnlyBinaryStream & bitStream,
::cereal::ReflectionCtx const & reflectionCtx )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $disallowBatching()

MCAPI bool StartGamePacket::$disallowBatching ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $isValid()

MCAPI bool StartGamePacket::$isValid ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getMaxSize()

MCAPI uint64 StartGamePacket::$getMaxSize ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $toString()

MCAPI::std::string StartGamePacket::$toString ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_read() [1/2]

MCAPI ::Bedrock::Result< void > StartGamePacket::$_read ( ::ReadOnlyBinaryStream & stream)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_read() [2/2]

MCAPI ::Bedrock::Result< void > StartGamePacket::$_read ( ::ReadOnlyBinaryStream & stream,
::cereal::ReflectionCtx const & reflectionCtx )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** StartGamePacket::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ sendTo() [1/3]

LLAPI void Packet::sendTo ( Player const & player) const
inherited

Send the packet to a specific server player.

Parameters
playerThe server player to send the packet to.

◆ sendTo() [2/3]

LLAPI void Packet::sendTo ( BlockPos const & pos,
DimensionType dimId,
optional_ref< Player const > except = std::nullopt ) const
inherited

Send the packet to all relevant players in a 2D plane at a position in a given dimension.

Parameters
posThe position to send the packet to.
dimIdThe type of dimension to send the packet in.
exceptexclude this player.

◆ sendTo() [3/3]

LLAPI void Packet::sendTo ( Actor const & actor,
optional_ref< Player const > except = std::nullopt ) const
inherited

Send the packet to all relevant players within a specific actor.

Parameters
actorThe actor to send the packet to.
exceptexclude this player.

◆ sendToClient()

LLAPI void Packet::sendToClient ( NetworkIdentifier const & identifier,
::SubClientId clientId ) const
inherited

Send the packet to a specific client identified by network identifier and sub-client ID.

Parameters
idThe network identifier of the client to send the packet to.
clientIdThe sub-client ID of the client to send the packet to.

◆ sendToClients()

LLAPI void Packet::sendToClients ( ) const
inherited

Send the packet to all clients connected to the server.

◆ $ctor() [2/4]

MCAPI void * StartGamePacketPayload::$ctor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [3/4]

MCAPI void * StartGamePacketPayload::$ctor ( ::StartGamePacketPayload && )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [4/4]

MCAPI void * StartGamePacketPayload::$ctor ( ::LevelSettings const & settings,
::ActorUniqueID entityId,
::ActorRuntimeID runtimeId,
::GameType entityGameType,
bool enableItemStackNetManager,
::Vec3 const & pos,
::Vec2 const & rot,
::std::string const & levelId,
::std::string const & levelName,
::ContentIdentity const & premiumTemplateContentIdentity,
::std::string const & multiplayerCorrelationId,
::BlockDefinitionGroup const & blockDefinitionGroup,
bool isTrial,
::CompoundTag playerPropertyData,
::PlayerMovementSettings const & movementSettings,
::std::string const & serverVersion,
::mce::UUID const & worldTemplateId,
::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo > const & serverJoinInfo,
::Social::Events::ServerTelemetryData const & serverTelemetryData,
uint64 levelCurrentTime,
int enchantmentSeed,
uint64 blockTypeRegistryChecksum )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void StartGamePacketPayload::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: