LeviLamina
Loading...
Searching...
No Matches
DynamicProperties Class Reference

Classes

struct  PropertyCollection

Public Types

using PropertyVariant = ::std::variant<double, float, bool, ::std::string, ::Vec3>

Public Member Functions

DynamicPropertiesoperator= (DynamicProperties const &)
 DynamicProperties (DynamicProperties const &)
MCAPI DynamicProperties (::DynamicProperties &&)
MCAPI::DynamicProperties::PropertyCollection const * _getPropertyCollection (::std::string const &) const
MCFOLD::DynamicProperties::PropertyCollection * _getPropertyCollection (::std::string const &collectionName)
MCAPI void deserialize (::CompoundTag const &root, ::cereal::ReflectionCtx const &ctx)
MCAPI bool removeDynamicProperty (::std::string const &key, ::std::string const &collectionName)
MCAPI ::std::unique_ptr<::CompoundTagserialize (::cereal::ReflectionCtx const &ctx) const
MCAPI void setDynamicProperty (::std::string const &key, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const &value, ::std::string const &collectionName)
MCAPI void updateCollectionName (::std::string const &from, ::std::string const &to)
MCAPI void * $ctor (::DynamicProperties &&)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::optional<::Scripting::ArgumentOutOfBoundsErrorvalidateDynamicProperty (::std::string const &key, ::std::variant< double, float, bool, ::std::string, ::Vec3 > const *value)
static MCAPI ::std::string const & STORAGE_TAG ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::DynamicProperties::PropertyCollection > > mPropertyCollections

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