diff options
| author | HampusM <hampus@hampusmat.com> | 2026-11-30 19:42:04 +0100 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-11-30 19:42:04 +0100 |
| commit | 607de6051f62652ac2799ec73ef0052436be5d62 (patch) | |
| tree | 569d02e57737d7935ee9eb1bf8948ec4c9e78bae /engine-ecs/src/lib.rs | |
| parent | a56f150842bacb376f5b144fc965ae7fec6b1ddc (diff) | |
refactor(engine-ecs): remove field ty_id from component::Info
Diffstat (limited to 'engine-ecs/src/lib.rs')
| -rw-r--r-- | engine-ecs/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engine-ecs/src/lib.rs b/engine-ecs/src/lib.rs index 80af3d4..711b3c8 100644 --- a/engine-ecs/src/lib.rs +++ b/engine-ecs/src/lib.rs @@ -670,7 +670,6 @@ impl World let comp_id = component_parts.id; let comp_name = component_parts.name; - let comp_type_id = (*component_parts.data).type_id(); if let Err(err) = component_storage .add_entity_component(entity_uid, (comp_id, component_parts.data)) @@ -700,7 +699,6 @@ impl World comp_id.relation(), ComponentInfo { type_reflection: pair_relation_metadata.ty, - ty_id: pair_relation_metadata.ty_id, name: pair_relation_metadata.name, type_name: pair_relation_metadata.type_name, is_sole: pair_relation_metadata.is_sole, @@ -714,7 +712,6 @@ impl World comp_id.target(), ComponentInfo { type_reflection: pair_target_metadata.ty, - ty_id: pair_target_metadata.ty_id, name: pair_target_metadata.name, type_name: pair_target_metadata.type_name, is_sole: pair_target_metadata.is_sole, @@ -730,7 +727,6 @@ impl World comp_id, ComponentInfo { type_reflection: component_parts.type_reflection, - ty_id: comp_type_id, name: comp_name, type_name: component_parts.type_name, is_sole: component_parts.is_sole, |
