fix destruction even and updated to contact4
This commit is contained in:
parent
0ba56d428f
commit
241a0c0906
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
// fwd enum (obj cant depend on Contact3
|
||||
enum class Contact3 : uint32_t;
|
||||
enum class Contact4 : uint32_t;
|
||||
|
||||
namespace ObjectStore::Components {
|
||||
|
||||
@ -38,7 +38,7 @@ namespace ObjectStore::Components {
|
||||
bool have_all {false};
|
||||
BitSet have;
|
||||
};
|
||||
entt::dense_map<Contact3, Entry> others;
|
||||
entt::dense_map<Contact4, Entry> others;
|
||||
};
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ void ObjectStore2::throwEventDestroy(const Object o) {
|
||||
std::cout << "OS debug: event destroy " << entt::to_integral(o) << "\n";
|
||||
dispatch(
|
||||
ObjectStore_Event::object_destroy,
|
||||
ObjectStore::Events::ObjectUpdate{
|
||||
ObjectStore::Events::ObjectDestory{
|
||||
ObjectHandle{_reg, o}
|
||||
}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user