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&);
48 MCAPI static ::std::unordered_map<::std::string, ::std::variant<double, float, bool, ::std::string, ::Vec3>>
53 using PropertyVariant = ::std::variant<double, float, bool, ::std::string, ::Vec3>;
58 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DynamicProperties::PropertyCollection>>
64 DynamicProperties& operator=(DynamicProperties
const&);
65 DynamicProperties(DynamicProperties
const&);
71 MCAPI DynamicProperties(::DynamicProperties&&);
73 MCAPI ::DynamicProperties::PropertyCollection
const* _getPropertyCollection(::std::string
const&)
const;
75 MCFOLD ::DynamicProperties::PropertyCollection* _getPropertyCollection(::std::string
const& collectionName);
79 MCAPI
bool removeDynamicProperty(::std::string
const& key, ::std::string
const& collectionName);
83 MCAPI
void setDynamicProperty(
84 ::std::string
const& key,
85 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const& value,
86 ::std::string
const& collectionName
89 MCAPI
void updateCollectionName(::std::string
const& from, ::std::string
const& to);
91 MCAPI ~DynamicProperties();
97 MCAPI static ::std::optional<::Scripting::ArgumentOutOfBoundsError> validateDynamicProperty(
98 ::std::string
const& key,
99 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const* value
106 MCAPI static ::std::string
const& STORAGE_TAG();
112 MCAPI
void* $ctor(::DynamicProperties&&);