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

Public Types

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

Public Member Functions

virtual void _initializeComponent ()
 
MCAPI LegacyOnHitActorTriggerItemComponent (::LegacyOnHitActorTriggerItemComponentData &&componentData)
 
MCAPI void _onHitActor (::ItemStack &item, ::Actor &actor, ::Mob &attacker)
 
MCAPI void * $ctor (::LegacyOnHitActorTriggerItemComponentData &&componentData)
 
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< 1, 1, bool > mCanUseOnHitActor
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnHitActorSubscription
 
::ll::TypedStorage< 8, 264, ::std::optional<::DefinitionTrigger > > mOnHitActor
 
::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 LegacyOnHitActorTriggerItemComponent::_initializeComponent ( )
virtual

Reimplemented from ItemComponent.


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