13class DynamicProperties {
21 struct PropertyCollection {
25 ::ll::TypedStorage<8, 8, uint64> mByteCount;
29 ::std::unordered_map<::std::string, ::std::variant<double, float, bool, ::std::string, ::Vec3>>>
35 PropertyCollection& operator=(PropertyCollection
const&);
36 PropertyCollection(PropertyCollection
const&);
44 MCAPI ~PropertyCollection();
50 MCAPI static ::std::unordered_map<::std::string, ::std::variant<double, float, bool, ::std::string, ::Vec3>>
61 using PropertyVariant = ::std::variant<double, float, bool, ::std::string, ::Vec3>;
66 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DynamicProperties::PropertyCollection>>
72 DynamicProperties& operator=(DynamicProperties
const&);
73 DynamicProperties(DynamicProperties
const&);
79 MCAPI DynamicProperties(::DynamicProperties&&);
81 MCFOLD ::DynamicProperties::PropertyCollection
const*
82 _getPropertyCollection(::std::string
const& collectionName)
const;
84 MCFOLD ::DynamicProperties::PropertyCollection* _getPropertyCollection(::std::string
const& collectionName);
88 MCAPI
bool removeDynamicProperty(::std::string
const& key, ::std::string
const& collectionName);
92 MCAPI
void setDynamicProperty(
93 ::std::string
const& key,
94 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const& value,
95 ::std::string
const& collectionName
98 MCAPI
void updateCollectionName(::std::string
const& from, ::std::string
const& to);
100 MCAPI ~DynamicProperties();
106 MCAPI static ::std::optional<::Scripting::ArgumentOutOfBoundsError> validateDynamicProperty(
107 ::std::string
const& key,
108 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const* value
115 MCAPI static ::std::string
const& STORAGE_TAG();
121 MCAPI
void* $ctor(::DynamicProperties&&);