26 ::ll::TypedStorage<8, 8, uint64> mByteCount;
30 ::std::unordered_map<::std::string, ::std::variant<double, float, bool, ::std::string, ::Vec3>>>
43 MCAPI
static void fromVariantMap(
45 ::std::unordered_map<::std::string, ::std::variant<double, float, bool, ::std::string, ::Vec3>>
const&
49 MCAPI static ::std::unordered_map<::std::string, ::std::variant<double, float, bool, ::std::string, ::Vec3>>
60 using PropertyVariant = ::std::variant<double, float, bool, ::std::string, ::Vec3>;
65 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DynamicProperties::PropertyCollection>>
72 MCFOLD ::DynamicProperties::PropertyCollection
const*
73 _getPropertyCollection(::std::string
const& collectionName)
const;
75 MCFOLD ::DynamicProperties::PropertyCollection* _getPropertyCollection(::std::string
const& collectionName);
77 MCAPI
void clearCollection(::std::string
const& collectionName);
81 MCFOLD uint64 getCollectionCount()
const;
83 MCAPI ::std::variant<double, float, bool, ::std::string, ::Vec3>
const*
84 getDynamicProperty(::std::string
const& key, ::std::string
const& collectionName)
const;
86 MCAPI ::std::vector<::std::string> getDynamicPropertyIds(::std::string
const& collectionName)
const;
88 MCFOLD ::std::unordered_map<::std::string, ::DynamicProperties::PropertyCollection>
const&
89 getPropertyCollections()
const;
91 MCAPI uint64 getTotalByteCount()
const;
93 MCAPI uint64 getTotalByteCount(::std::string
const& collectionName)
const;
95 MCAPI
bool removeDynamicProperty(::std::string
const& key, ::std::string
const& collectionName);
99 MCAPI
void setDynamicProperty(
100 ::std::string
const& key,
101 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const& value,
102 ::std::string
const& collectionName
105 MCAPI
void updateCollectionName(::std::string
const& from, ::std::string
const& to);
115 MCAPI static ::std::optional<::Scripting::ArgumentOutOfBoundsError> validateDynamicProperty(
116 ::std::string
const& key,
117 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const* value
120 MCAPI static ::std::string validateDynamicProperty_V010(
122 ::std::string
const& key,
123 ::std::variant<double, float, bool, ::std::string, ::Vec3>
const* value
130 MCAPI static ::std::string
const& STORAGE_TAG();