Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PublisherItemComponent::OnUseOn Struct Reference
Inheritance diagram for PublisherItemComponent::OnUseOn:

Public Types

using ReturnType

Public Member Functions

virtual bool isNetworkComponent () const
virtual ::std::unique_ptr<::CompoundTag > buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
virtual bool initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI bool $isNetworkComponent () const
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
MCAPI bool $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
virtual bool checkComponentDataForContentErrors () const
virtual void writeSettings ()
virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
virtual void _initializeComponent (::ComponentItem &owner)
MCAPI bool $checkComponentDataForContentErrors () const
MCAPI void $writeSettings ()
MCAPI void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
MCAPI void $_initializeComponent (::ComponentItem &owner)
MCAPI void dispatch () const
template<typename Fn>
Subscription connect (Fn const &fn, ConnectPosition at, ContextType &&context)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mAutoSucceedOnClient
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner

Protected Member Functions

void _disconnect (SubscriptionBodyBase &) override

Member Function Documentation

◆ isNetworkComponent()

virtual bool PublisherItemComponent::OnUseOn::isNetworkComponent ( ) const
virtual

Reimplemented from ItemComponent.

◆ initializeFromNetwork()

virtual bool PublisherItemComponent::OnUseOn::initializeFromNetwork ( ::CompoundTag const & tag,
::cereal::ReflectionCtx const & ctx )
virtual

Reimplemented from ItemComponent.

◆ $isNetworkComponent()

MCAPI bool PublisherItemComponent::OnUseOn::$isNetworkComponent ( ) 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.

◆ $buildNetworkTag()

MCAPI ::std::unique_ptr<::CompoundTag > PublisherItemComponent::OnUseOn::$buildNetworkTag ( ::cereal::ReflectionCtx const & ctx) 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.

◆ $initializeFromNetwork()

MCAPI bool PublisherItemComponent::OnUseOn::$initializeFromNetwork ( ::CompoundTag const & tag,
::cereal::ReflectionCtx const & ctx )
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.

◆ $checkComponentDataForContentErrors()

MCAPI bool ItemComponent::$checkComponentDataForContentErrors ( ) const
inherited
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.

◆ $writeSettings()

MCAPI void ItemComponent::$writeSettings ( )
inherited
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.

◆ $handleVersionBasedInitialization()

MCAPI void ItemComponent::$handleVersionBasedInitialization ( ::SemVersion const & originalJsonVersion)
inherited
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.

◆ $_initializeComponent()

MCAPI void ItemComponent::$_initializeComponent ( ::ComponentItem & owner)
inherited
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 ** ItemComponent::$vftable ( )
staticinherited
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 struct was generated from the following file:
  • src/mc/world/item/components/publisher_item_component/OnUseOn.h