20 auto& lua = entt::locator<sol::state>::value();
22 lua.new_usertype<
flags::NotSerializable>(
"NotSerializable", sol::constructors<flags::NotSerializable()>(),
"type_id", &entt::type_hash<flags::NotSerializable>::value);
23 lua.new_usertype<
flags::Disabled>(
"Disabled", sol::constructors<flags::Disabled()>(),
"type_id", &entt::type_hash<flags::Disabled>::value);
25 entt_sol::register_meta_component<flags::NotSerializable>();
26 entt_sol::register_meta_component<flags::Disabled>();