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

Public Member Functions

PacketSchemaReader & operator= (PacketSchemaReader const &)
 PacketSchemaReader (PacketSchemaReader const &)
virtual bool isValid () const
virtual ::std::optional< uint64 > remainingInputBytes () const
virtual::cereal::SchemaRWType expectedType () const
virtual ::Bedrock::Result< void > asNull ()
virtual ::Bedrock::Result< bool > asBool ()
virtual ::Bedrock::Result< schar > asInt8 ()
virtual ::Bedrock::Result< uchar > asUInt8 ()
virtual ::Bedrock::Result< short > asInt16 ()
virtual ::Bedrock::Result< ushort > asUInt16 ()
virtual ::Bedrock::Result< int > asInt32 ()
virtual ::Bedrock::Result< uint > asUInt32 ()
virtual ::Bedrock::Result< int64 > asInt64 ()
virtual ::Bedrock::Result< uint64 > asUInt64 ()
virtual ::Bedrock::Result< float > asFloat ()
virtual ::Bedrock::Result< double > asDouble ()
virtual ::Bedrock::Result<::std::string > asString (uint64 maxInputLength)
virtual ::Bedrock::Result< void > asRawBytes (::std::function<::gsl::span< uchar >(uint64)> storage, uint64 maxInputLength)
virtual ::std::optional< bool > additionalDataAsBool ()
virtual ::std::optional< uint > additionalDataAsUInt32 ()
virtual ::std::optional<::std::string > additionalDataAsString (uint64 maxInputLength)
virtual uint64 members ()
virtual uint64 length (uint64 expectedSize)
virtual bool pushMember (::std::string_view const)
virtual::std::string_view pushNextMember ()
virtual void pushElement (uint64)
virtual void pop ()
MCAPI bool $isValid () const
MCAPI ::std::optional< uint64 > $remainingInputBytes () const
MCAPI::cereal::SchemaRWType $expectedType () const
MCAPI ::Bedrock::Result< void > $asNull ()
MCAPI ::Bedrock::Result< bool > $asBool ()
MCAPI ::Bedrock::Result< schar > $asInt8 ()
MCAPI ::Bedrock::Result< uchar > $asUInt8 ()
MCAPI ::Bedrock::Result< short > $asInt16 ()
MCAPI ::Bedrock::Result< ushort > $asUInt16 ()
MCAPI ::Bedrock::Result< int > $asInt32 ()
MCAPI ::Bedrock::Result< uint > $asUInt32 ()
MCAPI ::Bedrock::Result< int64 > $asInt64 ()
MCAPI ::Bedrock::Result< uint64 > $asUInt64 ()
MCAPI ::Bedrock::Result< float > $asFloat ()
MCAPI ::Bedrock::Result< double > $asDouble ()
MCAPI ::Bedrock::Result<::std::string > $asString (uint64 maxInputLength)
MCAPI ::Bedrock::Result< void > $asRawBytes (::std::function<::gsl::span< uchar >(uint64)> storage, uint64 maxInputLength)
MCAPI ::std::optional< bool > $additionalDataAsBool ()
MCAPI ::std::optional< uint > $additionalDataAsUInt32 ()
MCAPI ::std::optional<::std::string > $additionalDataAsString (uint64 maxInputLength)
MCAPI uint64 $members ()
MCAPI uint64 $length (uint64 expectedSize)
MCAPI bool $pushMember (::std::string_view const)
MCAPI::std::string_view $pushNextMember ()
MCAPI void $pushElement (uint64)
MCAPI void $pop ()
virtual ::std::optional<::cereal::ResultCode > inputError () const
MCAPI ::std::optional<::cereal::ResultCode > $inputError () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ReadOnlyBinaryStream & > mStream
::ll::TypedStorage< 1, 1, ::cereal::SerializationTraits > mSerializationTraitsOverride
::ll::TypedStorage< 1, 1, ::cereal::SerializationTraits > mSerializationTraits

Member Function Documentation

◆ isValid()

virtual bool PacketSchemaReader::isValid ( ) const
virtual

Implements cereal::SchemaReader.

◆ expectedType()

virtual::cereal::SchemaRWType PacketSchemaReader::expectedType ( ) const
virtual

Implements cereal::SchemaReader.

◆ asNull()

virtual ::Bedrock::Result< void > PacketSchemaReader::asNull ( )
virtual

Implements cereal::SchemaReader.

◆ asBool()

virtual ::Bedrock::Result< bool > PacketSchemaReader::asBool ( )
virtual

Implements cereal::SchemaReader.

◆ asInt8()

virtual ::Bedrock::Result< schar > PacketSchemaReader::asInt8 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt8()

virtual ::Bedrock::Result< uchar > PacketSchemaReader::asUInt8 ( )
virtual

Implements cereal::SchemaReader.

◆ asInt16()

virtual ::Bedrock::Result< short > PacketSchemaReader::asInt16 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt16()

virtual ::Bedrock::Result< ushort > PacketSchemaReader::asUInt16 ( )
virtual

Implements cereal::SchemaReader.

◆ asInt32()

virtual ::Bedrock::Result< int > PacketSchemaReader::asInt32 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt32()

virtual ::Bedrock::Result< uint > PacketSchemaReader::asUInt32 ( )
virtual

Implements cereal::SchemaReader.

◆ asInt64()

virtual ::Bedrock::Result< int64 > PacketSchemaReader::asInt64 ( )
virtual

Implements cereal::SchemaReader.

◆ asUInt64()

virtual ::Bedrock::Result< uint64 > PacketSchemaReader::asUInt64 ( )
virtual

Implements cereal::SchemaReader.

◆ asFloat()

virtual ::Bedrock::Result< float > PacketSchemaReader::asFloat ( )
virtual

Implements cereal::SchemaReader.

◆ asDouble()

virtual ::Bedrock::Result< double > PacketSchemaReader::asDouble ( )
virtual

Implements cereal::SchemaReader.

◆ asString()

virtual ::Bedrock::Result<::std::string > PacketSchemaReader::asString ( uint64 maxInputLength)
virtual

Implements cereal::SchemaReader.

◆ asRawBytes()

virtual ::Bedrock::Result< void > PacketSchemaReader::asRawBytes ( ::std::function<::gsl::span< uchar >(uint64)> storage,
uint64 maxInputLength )
virtual

Implements cereal::SchemaReader.

◆ additionalDataAsBool()

virtual ::std::optional< bool > PacketSchemaReader::additionalDataAsBool ( )
virtual

Implements cereal::SchemaReader.

◆ additionalDataAsUInt32()

virtual ::std::optional< uint > PacketSchemaReader::additionalDataAsUInt32 ( )
virtual

Implements cereal::SchemaReader.

◆ additionalDataAsString()

virtual ::std::optional<::std::string > PacketSchemaReader::additionalDataAsString ( uint64 maxInputLength)
virtual

Implements cereal::SchemaReader.

◆ members()

virtual uint64 PacketSchemaReader::members ( )
virtual

Implements cereal::SchemaReader.

◆ length()

virtual uint64 PacketSchemaReader::length ( uint64 expectedSize)
virtual

Implements cereal::SchemaReader.

◆ pushMember()

virtual bool PacketSchemaReader::pushMember ( ::std::string_view const )
virtual

Implements cereal::SchemaReader.

◆ pushNextMember()

virtual::std::string_view PacketSchemaReader::pushNextMember ( )
virtual

Implements cereal::SchemaReader.

◆ pushElement()

virtual void PacketSchemaReader::pushElement ( uint64 )
virtual

Implements cereal::SchemaReader.

◆ pop()

virtual void PacketSchemaReader::pop ( )
virtual

Implements cereal::SchemaReader.

◆ $isValid()

MCAPI bool PacketSchemaReader::$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.

◆ $remainingInputBytes()

MCAPI ::std::optional< uint64 > PacketSchemaReader::$remainingInputBytes ( ) 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.

◆ $expectedType()

MCAPI::cereal::SchemaRWType PacketSchemaReader::$expectedType ( ) 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.

◆ $asNull()

MCAPI ::Bedrock::Result< void > PacketSchemaReader::$asNull ( )
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.

◆ $asBool()

MCAPI ::Bedrock::Result< bool > PacketSchemaReader::$asBool ( )
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.

◆ $asInt8()

MCAPI ::Bedrock::Result< schar > PacketSchemaReader::$asInt8 ( )
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.

◆ $asUInt8()

MCAPI ::Bedrock::Result< uchar > PacketSchemaReader::$asUInt8 ( )
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.

◆ $asInt16()

MCAPI ::Bedrock::Result< short > PacketSchemaReader::$asInt16 ( )
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.

◆ $asUInt16()

MCAPI ::Bedrock::Result< ushort > PacketSchemaReader::$asUInt16 ( )
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.

◆ $asInt32()

MCAPI ::Bedrock::Result< int > PacketSchemaReader::$asInt32 ( )
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.

◆ $asUInt32()

MCAPI ::Bedrock::Result< uint > PacketSchemaReader::$asUInt32 ( )
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.

◆ $asInt64()

MCAPI ::Bedrock::Result< int64 > PacketSchemaReader::$asInt64 ( )
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.

◆ $asUInt64()

MCAPI ::Bedrock::Result< uint64 > PacketSchemaReader::$asUInt64 ( )
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.

◆ $asFloat()

MCAPI ::Bedrock::Result< float > PacketSchemaReader::$asFloat ( )
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.

◆ $asDouble()

MCAPI ::Bedrock::Result< double > PacketSchemaReader::$asDouble ( )
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.

◆ $asString()

MCAPI ::Bedrock::Result<::std::string > PacketSchemaReader::$asString ( uint64 maxInputLength)
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.

◆ $asRawBytes()

MCAPI ::Bedrock::Result< void > PacketSchemaReader::$asRawBytes ( ::std::function<::gsl::span< uchar >(uint64)> storage,
uint64 maxInputLength )
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.

◆ $additionalDataAsBool()

MCAPI ::std::optional< bool > PacketSchemaReader::$additionalDataAsBool ( )
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.

◆ $additionalDataAsUInt32()

MCAPI ::std::optional< uint > PacketSchemaReader::$additionalDataAsUInt32 ( )
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.

◆ $additionalDataAsString()

MCAPI ::std::optional<::std::string > PacketSchemaReader::$additionalDataAsString ( uint64 maxInputLength)
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.

◆ $members()

MCAPI uint64 PacketSchemaReader::$members ( )
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.

◆ $length()

MCAPI uint64 PacketSchemaReader::$length ( uint64 expectedSize)
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.

◆ $pushMember()

MCAPI bool PacketSchemaReader::$pushMember ( ::std::string_view 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.

◆ $pushNextMember()

MCAPI::std::string_view PacketSchemaReader::$pushNextMember ( )
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.

◆ $pushElement()

MCAPI void PacketSchemaReader::$pushElement ( uint64 )
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.

◆ $pop()

MCAPI void PacketSchemaReader::$pop ( )
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 ** PacketSchemaReader::$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.

◆ $inputError()

MCAPI ::std::optional<::cereal::ResultCode > cereal::SchemaReader::$inputError ( ) const
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: