LeviLamina
Loading...
Searching...
No Matches
BlockPalette Class Reference
+ Inheritance diagram for BlockPalette:

Classes

struct  ConstructorToken
 

Public Types

enum class  PaletteType : int { Sequential = 0 , Hashed = 1 }
 

Public Member Functions

virtual::BlockPalette::PaletteType getPaletteType ()
 
virtual void appendBlock (::Block const &blockState)
 
virtual::Block const & getBlock (uint const &networkId) const
 
virtual void assignBlockNetworkId (::Block const &block, uint64 networkId) const
 
MCAPI BlockPalette (::BlockPalette::ConstructorToken)
 
MCAPI BlockPalette (::Level &level)
 
MCAPI::Block const & getBlockFromLegacyData (::NewBlockID id, uint data) const
 
MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry > const getUnknownBlockTypeRegistry () const
 
MCAPI bool shouldWarnFor (::NewBlockID id, ushort data) const
 
MCAPI::Block const & switchBlock (::Block const &oldBlock, ::BlockLegacy const &newBlockType) const
 
MCAPI void * $ctor (::BlockPalette::ConstructorToken)
 
MCAPI void * $ctor (::Level &level)
 
MCAPI void $dtor ()
 
MCAPI::BlockPalette::PaletteType $getPaletteType ()
 
MCAPI void $appendBlock (::Block const &blockState)
 
MCAPI::Block const & $getBlock (uint const &networkId) const
 
MCAPI void $assignBlockNetworkId (::Block const &block, uint64 networkId) const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmLegacyBlockStatesConversionWarningMutex
 
::ll::TypedStorage< 8, 16, ::std::set<::std::pair< int, int > > > mLegacyBlockStatesConversionWarningSet
 
::ll::TypedStorage< 8, 24, ::std::vector<::Block const * > > mBlockFromNetworkId
 
::ll::TypedStorage< 8, 8, ::Level * > mLevel
 

Constructor & Destructor Documentation

◆ BlockPalette() [1/2]

MCAPI BlockPalette::BlockPalette ( ::BlockPalette::ConstructorToken )
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.

◆ BlockPalette() [2/2]

MCAPI BlockPalette::BlockPalette ( ::Level & level)
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

◆ getBlockFromLegacyData()

MCAPI::Block const & BlockPalette::getBlockFromLegacyData ( ::NewBlockID id,
uint data ) 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.

◆ getUnknownBlockTypeRegistry()

MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry > const BlockPalette::getUnknownBlockTypeRegistry ( ) 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.

◆ shouldWarnFor()

MCAPI bool BlockPalette::shouldWarnFor ( ::NewBlockID id,
ushort data ) 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.

◆ switchBlock()

MCAPI::Block const & BlockPalette::switchBlock ( ::Block const & oldBlock,
::BlockLegacy const & newBlockType ) 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.

◆ $ctor() [1/2]

MCAPI void * BlockPalette::$ctor ( ::BlockPalette::ConstructorToken )
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() [2/2]

MCAPI void * BlockPalette::$ctor ( ::Level & level)
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 BlockPalette::$dtor ( )
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.

◆ $getPaletteType()

MCAPI::BlockPalette::PaletteType BlockPalette::$getPaletteType ( )
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.

◆ $appendBlock()

MCAPI void BlockPalette::$appendBlock ( ::Block const & blockState)
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.

◆ $getBlock()

MCAPI::Block const & BlockPalette::$getBlock ( uint const & networkId) 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.

◆ $assignBlockNetworkId()

MCAPI void BlockPalette::$assignBlockNetworkId ( ::Block const & block,
uint64 networkId ) 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.

◆ $vftable()

static MCAPI void ** BlockPalette::$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.

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