diff --git a/addons/geary-serialization/src/commonMain/kotlin/com/mineinabyss/geary/serialization/dsl/WithCommonComponentNames.kt b/addons/geary-serialization/src/commonMain/kotlin/com/mineinabyss/geary/serialization/dsl/WithCommonComponentNames.kt index fcd6bd13..a52d5888 100644 --- a/addons/geary-serialization/src/commonMain/kotlin/com/mineinabyss/geary/serialization/dsl/WithCommonComponentNames.kt +++ b/addons/geary-serialization/src/commonMain/kotlin/com/mineinabyss/geary/serialization/dsl/WithCommonComponentNames.kt @@ -1,5 +1,7 @@ package com.mineinabyss.geary.serialization.dsl +import com.mineinabyss.geary.components.relations.ChildOf +import com.mineinabyss.geary.components.relations.InstanceOf import com.mineinabyss.geary.observers.events.* fun SerializableComponentsDSL.withCommonComponentNames() { @@ -10,4 +12,7 @@ fun SerializableComponentsDSL.withCommonComponentNames() { namedComponent("geary:on_update") namedComponent("geary:on_entity_removed") namedComponent("geary:on_extend") + namedComponent("geary:child_of") + namedComponent("geary:instance_of") + namedComponent("geary:any") }