8#include <entt/locator/locator.hpp>
20 auto& lua = entt::locator<sol::state>::value();
22 auto guid_type = lua.new_usertype<
utils::Guid>(
"Guid", sol::constructors<utils::Guid()>());
Contains a 128bit randomly generated GUID, along with helper functions.
const std::string & to_string() const noexcept
Get the GUID as a string.
void inject_utils()
Injects misc galaxy utils into lua.
bool begins_with(const std::string &input, const std::string &find) noexcept
Check if string begins with another string.
std::vector< std::string > split(std::string_view input, std::string_view delim) noexcept
Split a string based on a delimiter.