Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
module.hpp
Go to the documentation of this file.
1
3#pragma once
4#include <aegis2d/script/export.hpp>
5
6#include <string>
7#include <string_view>
8
12namespace aegis2d::script {
15AEGIS2D_SCRIPT_EXPORT std::string_view name() noexcept;
16
20AEGIS2D_SCRIPT_EXPORT std::string lua_version();
21} // namespace aegis2d::script
Entity behaviors in Lua, so that new enemies and patterns need no recompilation.
Definition components.hpp:19
AEGIS2D_SCRIPT_EXPORT std::string_view name() noexcept
Name of the module, used to check that it is linked.
AEGIS2D_SCRIPT_EXPORT std::string lua_version()
Version of the Lua the module runs, as Lua itself names it.
Definition endpoint.hpp:85