|
LeviLamina
|
Classes | |
| struct | PropertyCollection |
Public Types | |
| using | PropertyVariant = ::std::variant<double, float, bool, ::std::string, ::Vec3> |
Public Member Functions | |
| DynamicProperties & | operator= (DynamicProperties const &) |
| DynamicProperties (DynamicProperties const &) | |
| MCAPI | DynamicProperties (::DynamicProperties &&) |
| MCAPI void | deserialize (::CompoundTag const &root, ::cereal::ReflectionCtx const &ctx) |
| MCAPI ::std::vector<::std::string > | getDynamicPropertyIds (::std::string const &collectionName) const |
| MCAPI bool | removeDynamicProperty (::std::string const &key, ::std::string const &collectionName) |
| MCAPI ::std::unique_ptr<::CompoundTag > | serialize (::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::ArgumentOutOfBoundsError > | validateDynamicProperty (::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 |