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 &item, ::ItemStack &actor, ::Actor &)
 
MCAPI void * $ctor (::LegacyOnConsumeTriggerItemComponentData &&data)
 
MCAPI void $_initializeComponent ()
 
MCAPI void $dtor ()
 
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, 264, ::std::optional<::DefinitionTrigger > > mOnConsumeTrigger
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(bool &, ::ItemStackBase &, ::DefinitionTrigger const &, ::RenderParams &), ::Bedrock::PubSub::ThreadModel::MultiThreaded > > mOnTriggerPublisher
 
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner
 

Member Function Documentation

◆ _initializeComponent()

virtual void LegacyOnConsumeTriggerItemComponent::_initializeComponent ( )
virtual

Reimplemented from ItemComponent.


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