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

Public Types

using TriggerSignature = void(bool&, ::ItemStackBase&, ::DefinitionTrigger const&, ::RenderParams&)
 

Public Member Functions

virtual void _initializeComponent ()
 
MCAPI LegacyOnConsumeTriggerItemComponent (::LegacyOnConsumeTriggerItemComponentData &&data)
 
MCAPI void _consume (::ItemStack const &, ::ItemStack &item, ::Actor &actor)
 
MCAPI void * $ctor (::LegacyOnConsumeTriggerItemComponentData &&data)
 
MCAPI void $_initializeComponent ()
 
virtual bool checkComponentDataForContentErrors () const
 
virtual void writeSettings ()
 
virtual bool isNetworkComponent () const
 
virtual ::std::unique_ptr<::CompoundTagbuildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
virtual bool initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 
virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
MCFOLD bool $checkComponentDataForContentErrors () const
 
MCFOLD void $writeSettings ()
 
MCFOLD bool $isNetworkComponent () const
 
MCFOLD ::std::unique_ptr<::CompoundTag$buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
MCFOLD bool $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 
MCFOLD void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 

Static Public Member Functions

static MCAPI ::HashedString const & getIdentifier ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnConsumeSubscription
 
::ll::TypedStorage< 8, 64, ::std::optional<::DefinitionTrigger > > mOnConsumeTrigger
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(bool &, ::ItemStackBase &, ::DefinitionTrigger const &, ::RenderParams &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnTriggerPublisher
 
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner
 

Member Function Documentation

◆ _initializeComponent()

virtual void LegacyOnConsumeTriggerItemComponent::_initializeComponent ( )
virtual

Reimplemented from ItemComponent.

◆ $vftable()

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