You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: replace string-based registry lookup with std::type_index (#360)
Use std::type_index(typeid(T)) to key registries instead of raw strings.
Remove ENDSTONE_REGISTRY_TYPE macro and T::RegistryType from all types.
Add type-erased virtuals to IRegistry (get0, forEach0, getTypeId) so
Python bindings use a single opaque Registry class via IRegistry directly,
extracting std::type_info from py::type to call Server::_getRegistry.
0 commit comments