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

Classes

struct  ActiveProcessData

Public Types

enum class  NeighborUpdateTransition : int { NewToPrevious = 0 , PreviousToNew = 1 , Unchanged = 2 }
enum class  ReplayPhase : int { Neutralize = 0 , Apply = 1 , Completed = 2 }
enum class  ReplayStrategy : int { Default = 0 , NeutralizeLiquids = 1 }
enum class  ProcessingState : int { NotRequired = 0 , NotStarted = 1 , InProgress = 2 , Completed = 3 }

Public Member Functions

BlockChangedOperation & operator= (BlockChangedOperation const &)
 BlockChangedOperation (BlockChangedOperation const &)
virtual::std::string_view getName ()
virtual::Editor::Transactions::IOperation::ProcessResult _processUndo (::Editor::ServiceProviderCollection &services)
virtual::Editor::Transactions::IOperation::ProcessResult _processRedo (::Editor::ServiceProviderCollection &services)
virtual::Editor::Transactions::IOperation::ProcessingState _getProcessingState () const
virtual ::Scripting::Result_deprecated< void > _clearActiveProcess ()
MCAPI void _neutralizeLiquids (::BlockSource &region, uint64 startIndex, uint64 count) const
MCAPI ::Scripting::Result_deprecated< void > _performOperation (::Editor::ServiceProviderCollection &services, bool isUndo)
MCAPI ::Scripting::Result_deprecated< void > _setBlock (::Level &level, ::BlockSource &region, uint const &blockToPlace, uint const &extraBlockToPlace, ::CompoundTag *blockData, ::BlockPos const &pos) const
MCAPI ::Scripting::Result_deprecated< void > _setBlocks (::Level &level, ::BlockSource &region, bool isUndo, uint64 startIndex, uint64 count) const
MCAPI void _updateNeighbors (::Level &level, ::BlockSource &region, ::Editor::Transactions::BlockChangedOperation::NeighborUpdateTransition transition, uint64 startIndex, uint64 count) const
MCAPI::std::string_view $getName ()
MCAPI::Editor::Transactions::IOperation::ProcessResult $_processUndo (::Editor::ServiceProviderCollection &services)
MCAPI::Editor::Transactions::IOperation::ProcessResult $_processRedo (::Editor::ServiceProviderCollection &services)
MCAPI::Editor::Transactions::IOperation::ProcessingState $_getProcessingState () const
MCAPI ::Scripting::Result_deprecated< void > $_clearActiveProcess ()

Static Public Member Functions

static MCAPI void appendResolvedBlockChange (::BlockSource const &region, ::Editor::Transactions::BlockChangeIntentData &blockIntentData, ::std::vector<::Editor::Transactions::BlockChangedOperationData > &changedBlocks)
static MCAPI ::std::vector<::Editor::Transactions::BlockChangeIntentData > createBlockChangeIntentFromLocation (::BlockSource const &region, ::BlockPos const &pos, bool includeAll)
static MCAPI ::std::string const & DEFAULT_OPERATION_NAME ()
static MCAPI ::std::string const & LIQUID_SAFE_OPERATION_NAME ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnk415a46
::ll::UntypedStorage< 8, 24 > mUnk4da484
::ll::UntypedStorage< 8, 8 > mUnk228eec
::ll::UntypedStorage< 4, 4 > mUnk59efd7
::ll::UntypedStorage< 8, 8 > mUnk127d01

Member Function Documentation

◆ getName()

virtual::std::string_view Editor::Transactions::BlockChangedOperation::getName ( )
virtual

◆ _processUndo()

virtual::Editor::Transactions::IOperation::ProcessResult Editor::Transactions::BlockChangedOperation::_processUndo ( ::Editor::ServiceProviderCollection & services)
virtual

◆ _processRedo()

virtual::Editor::Transactions::IOperation::ProcessResult Editor::Transactions::BlockChangedOperation::_processRedo ( ::Editor::ServiceProviderCollection & services)
virtual

◆ _neutralizeLiquids()

MCAPI void Editor::Transactions::BlockChangedOperation::_neutralizeLiquids ( ::BlockSource & region,
uint64 startIndex,
uint64 count ) 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.

◆ _performOperation()

MCAPI ::Scripting::Result_deprecated< void > Editor::Transactions::BlockChangedOperation::_performOperation ( ::Editor::ServiceProviderCollection & services,
bool isUndo )
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.

◆ _setBlock()

MCAPI ::Scripting::Result_deprecated< void > Editor::Transactions::BlockChangedOperation::_setBlock ( ::Level & level,
::BlockSource & region,
uint const & blockToPlace,
uint const & extraBlockToPlace,
::CompoundTag * blockData,
::BlockPos const & pos ) 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.

◆ _setBlocks()

MCAPI ::Scripting::Result_deprecated< void > Editor::Transactions::BlockChangedOperation::_setBlocks ( ::Level & level,
::BlockSource & region,
bool isUndo,
uint64 startIndex,
uint64 count ) 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.

◆ _updateNeighbors()

MCAPI void Editor::Transactions::BlockChangedOperation::_updateNeighbors ( ::Level & level,
::BlockSource & region,
::Editor::Transactions::BlockChangedOperation::NeighborUpdateTransition transition,
uint64 startIndex,
uint64 count ) 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.

◆ appendResolvedBlockChange()

MCAPI void Editor::Transactions::BlockChangedOperation::appendResolvedBlockChange ( ::BlockSource const & region,
::Editor::Transactions::BlockChangeIntentData & blockIntentData,
::std::vector<::Editor::Transactions::BlockChangedOperationData > & changedBlocks )
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.

◆ createBlockChangeIntentFromLocation()

MCAPI ::std::vector<::Editor::Transactions::BlockChangeIntentData > Editor::Transactions::BlockChangedOperation::createBlockChangeIntentFromLocation ( ::BlockSource const & region,
::BlockPos const & pos,
bool includeAll )
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.

◆ DEFAULT_OPERATION_NAME()

MCAPI ::std::string const & Editor::Transactions::BlockChangedOperation::DEFAULT_OPERATION_NAME ( )
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.

◆ LIQUID_SAFE_OPERATION_NAME()

MCAPI ::std::string const & Editor::Transactions::BlockChangedOperation::LIQUID_SAFE_OPERATION_NAME ( )
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.

◆ $getName()

MCAPI::std::string_view Editor::Transactions::BlockChangedOperation::$getName ( )
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.

◆ $_processUndo()

MCAPI::Editor::Transactions::IOperation::ProcessResult Editor::Transactions::BlockChangedOperation::$_processUndo ( ::Editor::ServiceProviderCollection & services)
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.

◆ $_processRedo()

MCAPI::Editor::Transactions::IOperation::ProcessResult Editor::Transactions::BlockChangedOperation::$_processRedo ( ::Editor::ServiceProviderCollection & services)
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.

◆ $_getProcessingState()

MCAPI::Editor::Transactions::IOperation::ProcessingState Editor::Transactions::BlockChangedOperation::$_getProcessingState ( ) 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.

◆ $_clearActiveProcess()

MCAPI ::Scripting::Result_deprecated< void > Editor::Transactions::BlockChangedOperation::$_clearActiveProcess ( )
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 ** Editor::Transactions::BlockChangedOperation::$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: