LeviLamina
Loading...
Searching...
No Matches
NetworkedItemComponent< T > Class Template Reference
Inheritance diagram for NetworkedItemComponent< T >:

Public Member Functions

bool isNetworkComponent () const override
std::unique_ptr< CompoundTagbuildNetworkTag (const cereal::ReflectionCtx &) const override
bool initializeFromNetwork (const CompoundTag &, const cereal::ReflectionCtx &) override
virtual bool checkComponentDataForContentErrors () const
virtual void writeSettings ()
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)
virtual void _initializeComponent (::ComponentItem &owner)
MCAPI void initializeComponent (::ComponentItem *owner)
MCAPI bool initializeComponentFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx, ::ComponentItem *owner)
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)
MCFOLD void $_initializeComponent (::ComponentItem &owner)

Static Public Member Functions

static MCAPI void bindItemComponentType (::cereal::ReflectionCtx &ctx)
static MCFOLD void registerVersionUpgrades (::CerealSchemaUpgradeSet &schemaUpgrades)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner

Member Function Documentation

◆ isNetworkComponent()

template<typename T>
bool NetworkedItemComponent< T >::isNetworkComponent ( ) const
nodiscardoverridevirtual

Reimplemented from ItemComponent.


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